adonisjs / mail

AdonisJS Email Provider
MIT License
106 stars 34 forks source link

Mail failed to SMTP without name attribute #102

Open thetutlage opened 3 months ago

thetutlage commented 3 months ago

Discussed in https://github.com/orgs/adonisjs/discussions/4696

Originally posted by **tavaresgerson** August 17, 2024 Hello developers, When using Adonis Mail I have been having the following error (already known): 1. Without the `name` attribute in the SMTP transport the email does not arrive in the GMail and Yahoo inbox 2. I add the attribute in Adonis development mode and it works as expected, but when generating the build the attribute does not go to production (even though it is defined in the `build/config/mail.js` file) This problem has already been discussed and resolved here: https://github.com/nodemailer/nodemailer/issues/677#issuecomment-283037667 I am unable to understand the Mail source code to send a pull request, however I depend on the team. Thank you very much!
thetutlage commented 3 months ago

All options for nodemailer SMTP transport should be accepted by the AdonisJS SMTPConfig type