Sending emails from within your application can be achieved by using Serverless Functions. To do this, you can either rely on the outgoing SMTP connection of your Serverless Function or use the API of an external service.

Providers

To send emails from Vercel without restrictions, we recommend the use of 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.

You can also use libraries like nodemailer. When doing so, we recommend using an external host value provided by a third-party provider, rather than defaulting to the outbound SMTP connection of the Serverless Function.

Related

For more information on what to do next, we recommend the following articles: