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

Isolate SendGrid MailService used, so it does not use the global one #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

varanauskas
Copy link

This isolates the SendGrid MailService used inside the Transport class, to prevent the transport class using the global SendGrid MailService, allowing multiple Transports to use multiple MailServices with different API keys

Fixes #13

Yhozen added a commit to Yhozen/nodemailer-sendgrid that referenced this pull request Jun 22, 2023
Isolate SendGrid MailService used, so it does not use the global one nodemailer#14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API key set globally, unable to use multiple transports with different api keys
1 participant