Hi @Hanh Trinh
Could you please tell more information about your environment? Are you failed sending messages to O365 using the printer which configured to send mails with your SMTP server? Please correct me if I have any misunderstanding about your question.
In addition what mail server are you using now?
Below is a related thread discussed about the similar issue for your reference: SMTP relay Windows server 2012 rejected auth negotiation
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
The error occurs when you are forcing the use of encryption for email transport, and the receiving server does not support this. TO send to these you have to use no TLS, via changing to opportunistic TLS, assuming you have no legal requirement to force transport encryption. Going to opportunisitc TLS will encrypt traffic when it can and for those that can't accept encrypted traffic will send the email unencrypted.
In addition, we could also refer to the official document which introduces about Sending mail directly from your printer or application to Microsoft 365 or Office 365 (direct send) , check if the method introduced here suitable for your scenario.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.