function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nitesh Jain 4Nitesh Jain 4 

STMP Auth using oAuth2.0 instead of plain SASL method in Email Relay.

Hi, I want to setup an email relay and therefore the requirement is to use SMTP Auth but salesforce only provides Salesforce only supports the PLAIN SASL mechanism for SMTP authentication which requires username and password. Is there any way so i can get this authentication done using Oauth2.0? Can there be a possibility that a mediatore system gets this identiy checked and authenticate with SMTP with oauth2.0?
AnudeepAnudeep (Salesforce Developers) 
Hi Nitesh, 

Unfortunately, only PLAIN SASL is supported for SMTP at this time

NOTE Salesforce only supports the PLAIN SASL mechanism for SMTP authentication.

User-added image