Skip to content
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(email): allow for custom http mail implementations off of nodemailer #11686

Merged
merged 4 commits into from
Sep 15, 2024

Conversation

JipSterk
Copy link
Contributor

☕️ Reasoning

currently solutions using a custom configuration of sendVerificationRequest for the nodemailer provider still require a server config object passed even though it's type is not mandatory which is not need for implementations that for example use a sdk like aws-ses or react-email

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

Fixes: #10376 (comment)

📌 Resources

@JipSterk JipSterk requested a review from ThangHuuVu as a code owner August 27, 2024 16:02
Copy link

vercel bot commented Aug 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 15, 2024 10:03am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Sep 15, 2024 10:03am

@github-actions github-actions bot added providers core Refers to `@auth/core` labels Aug 27, 2024
@JipSterk JipSterk changed the title feat(email) allow for custom mail implementations (reopening off #10376) feat(email) allow for custom mail implementations (reopening off [#10376](https://github.com/nextauthjs/next-auth/pull/10376#issue-comment-box)) Aug 27, 2024
@JipSterk JipSterk changed the title feat(email) allow for custom mail implementations (reopening off [#10376](https://github.com/nextauthjs/next-auth/pull/10376#issue-comment-box)) feat(email) allow for custom mail implementations (reopening off #10376) Aug 27, 2024
Copy link

vercel bot commented Aug 28, 2024

@ndom91 is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@ndom91 ndom91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@ndom91 ndom91 changed the title feat(email) allow for custom mail implementations (reopening off #10376) fix(email): allow for custom http mail implementations off of nodemailer (reopening off #10376) Aug 28, 2024
@ndom91 ndom91 changed the title fix(email): allow for custom http mail implementations off of nodemailer (reopening off #10376) fix(email): allow for custom http mail implementations off of nodemailer Aug 28, 2024
@ThangHuuVu
Copy link
Member

Pushed a small fix to pass the build, thanks @JipSterk @ndom91 🙏

Copy link

codecov bot commented Sep 15, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 39.34%. Comparing base (270fc6c) to head (3944f1d).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
packages/core/src/providers/email.ts 0.00% 3 Missing ⚠️
packages/core/src/providers/nodemailer.ts 0.00% 3 Missing ⚠️
packages/core/src/providers/mailgun.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11686   +/-   ##
=======================================
  Coverage   39.34%   39.34%           
=======================================
  Files         185      185           
  Lines       29350    29350           
  Branches     1270     1270           
=======================================
  Hits        11549    11549           
  Misses      17801    17801           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ThangHuuVu ThangHuuVu merged commit bbc6710 into nextauthjs:main Sep 15, 2024
12 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Refers to `@auth/core` providers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants