Example using maildev (npm i -g maildev
):
smtpCredentials: {
host: 'localhost',
port: 1025,
tls: { rejectUnauthorized: false },
}
Example gmail.com string:
smtpCredentials: 'smtps://user%40gmail.com:[email protected]'
Start the local catch-all SMTP server using the command maildev
.