Create an Account
The first step is to register an account with Mailtrap. It offers a free plan for small testing needs, and also paid plans for larger organizations.
Create an Inbox
After registering, create an inbox for your application. Each inbox comes with its SMTP and POP3 credentials, which can be used to send and retrieve emails.
Configure the Cal.com env file
Change the tab to nodemailer and copy the information to
.env:Please remember to change the user and password and replace ‘XXX’ above with their respective values.
Send Test Emails
Once your instance is configured, you can start sending test emails. These emails are “trapped” in the Mailtrap inbox, enabling you to verify email content, headers, and attachments.