We are encountering an issue with our deployment on Render related to sending emails via Nodemailer.
Here’s a summary of our situation:
- We’ve tested Nodemailer locally using both a personal email account (e.g.,
...@outlook.com
) and an organizational email account (user@domain.com
) configured with MS 365. - Locally, both configurations work perfectly, and emails are sent without any issues.
- However, after deploying the application on Render, only the personal email account (via
...@outlook.com
) is functioning correctly for sending emails. The organizational email account (using MS 365) fails to send emails when hosted on Render.
We would appreciate your assistance in identifying and resolving this issue. Could you please advise on any potential network restrictions, configuration settings, or other factors within Render that might affect the use of MS 365 as the SMTP server for organizational emails?