How to use Outlook o365 as SMTP service

Herbert Kimani 56 Reputation points
2023-07-14T08:03:00.65+00:00

How can I use outlook365 but without authenticating with my work credentials in the code? Preferably using a shared mailbox associated with my account and may be a key for auth instead of authenticating with my work credentials.

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,757 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Reischl 75 Reputation points
    2023-07-20T19:10:19.0033333+00:00

    Hi Herbert,

    We´re using for most Applications/Devices onPrem an Local SMTP Relay Service.
    The Exchange Online SMTP was usable in the past through an Receive Connector which allows SMTP Relaying from an Official IP Address but we´ve decided not to use external SMTP Services without an Authentification Process due to internal Security Regulations.

    BR

    Michael

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.