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

Does not support from messages in format "Name <[email protected]>" or as object #5

Open
haneefkassam opened this issue Jun 2, 2022 · 0 comments

Comments

@haneefkassam
Copy link

The nodemailer library supports from addresses in either string format or as an object (http://nodemailer.com/message/). However, when using the nodemailer app, if the from field is in the format of an object, or even in the "name" <[email protected]>, the nodemailer app will reject the email with the error: 501 Error: Bad sender address syntax code "EENVELOPE".

The object format I've used is:

from: {
  name: "My Name",
  address: "[email protected]"
}

Using the object format for the from address works when not using the nodemailer app.

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

No branches or pull requests

1 participant