By default, the Vercel platform blocks outgoing SMTP connections. This is done for security reasons to prevent malicious use of the platform.

As a result, it is not possible to use SMTP clients such as Nodemailer to send email from Serverless Functions.

Sending Email

To send emails from Vercel without restrictions, we recommend the use of a third-party mail services:

By using one of the services listed above, you will also benefit from analytics, scheduling, and many other features exclusively available from a specialized service.


Last Edited on July 4th 2020