-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(EmailProvider): proper required fields and allow all nodemailer types #7950
fix(EmailProvider): proper required fields and allow all nodemailer types #7950
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
@reconbot is attempting to deploy a commit to the authjs Team on Vercel. A member of the Team first needs to authorize it. |
6dc83dd
to
77e0983
Compare
77e0983
to
338171e
Compare
I've added some docs around the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Can you open this against the v4 branch? 🙏
338171e
to
344ba07
Compare
344ba07
to
52c7882
Compare
@balazsorban44 v4 is in great shape, reworked to merge into it |
☕️ Reasoning
I was trying to setup the
EmailProvider
with aws'sSES
and noticed the types didn't allow that, and even if I was using a normal smtp server it had incorrect required and optional fields. This change allows all types for nodemailer'screateTransport()
function including premade transports (which is handy if you're usingnodemailer.createTestAccount()
)🧢 Checklist
🎫 Affected issues
Related: #5618 (related to but doesn't replace)