April 23, 2021
NextAuth.js wants you to use an SMTP connection string when using their "Email" authentication provider.
It took me a while to figure out how to get an SMTP connection string for Amazon Simple Email Service, but once I did I wrote this quick guide: How to send email through Amazon SES with SMTP.
Follow that guide to set up NextAuth.js like this:
providers: [
Providers.Email({
server: 'smtp://username:[email protected]:587',
from: '[email protected]' // A domain you've set up in Amazon SES' console
})
]
Tufts Meal Plan Wrapped
Mar 2, 2024
Building an e-ink picture frame that displays an iCloud photo album
Jan 9, 2024
2023 in review
Jan 5, 2024
Subscribe to my newsletter for a monthly round-up of new blog posts and projects Iām working on!