Thank you for asking this question on the Microsoft Q&A Platform.
The following documentation shows you different options to send emails from Exchange online
- Option 1: Authenticate your device or application directly with a Microsoft 365 or Office 365 mailbox, and send mail using SMTP AUTH client submission
- Option 2: Send mail directly from your printer or application to Microsoft 365 or Office 365 (direct send)
- Option 3: Configure a connector to send mail using Microsoft 365 or Office 365 SMTP relay
Here's a comparison of each configuration option and the features they support.
Hope this helps!
Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
NOTE: To answer you as quickly as possible, please mention me in your reply.