Skip to main content
Answer

Using Oauth to send emails through office 365 SMTP

  • January 31, 2023
  • 1 reply
  • 313 views

Forum|alt.badge.img+3

With the deprecation of basic auth for office 365 SMTP is it possible to authenticate through other means in order to send e-mails?

I am currently trying to use the SMTP connector to send e-mails but keep getting -2 status codes for this action 

Error LOG:
Process action "send_email" in processflow "flow_anne_mail_test" in application 83 threw an exception. (571360e4)
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail. Error: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled

Should i be using another connector? Or switch to another SMTP service like sendgrid?

Best answer by Kasper Reijnders

Since 2023.1 you can use modern authentication. That is the preferred method by Microsoft. See: 

 

This topic has been closed for replies.

1 reply

Kasper Reijnders
Forum|alt.badge.img+5

Since 2023.1 you can use modern authentication. That is the preferred method by Microsoft. See: