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

`TALK_SMTP_FROM_ADDRESS configuration #2208

Open
tomascrespo opened this Issue Feb 27, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@tomascrespo
Copy link

tomascrespo commented Feb 27, 2019

In documentation put this example of SMTP configuration:

TALK_SMTP_FROM_ADDRESS="The Coral Project" <support@coralproject.net>

However if I use that format like this:
TALK_SMTP_FROM_ADDRESS="Verde Pistacho" <comentariosverdepistacho@gmail.com>

I get this error

  err: Error: Invalid sender "<comentariosverdepistacho@gmail.com>"
      at SMTPConnection._formatError (./node_modules/smtp-connection/lib/smtp-connection.js:528:15)
      at SMTPConnection._setEnvelope (./node_modules/smtp-connection/lib/smtp-connection.js:723:30)
      at SMTPConnection.send (./node_modules/smtp-connection/lib/smtp-connection.js:383:10)
      at SMTPTransport.<anonymous> (./node_modules/nodemailer-smtp-transport/lib/smtp-transport.js:126:24)
      at ./node_modules/nodemailer-smtp-transport/lib/smtp-transport.js:162:21
      at SMTPConnection._actionAUTHComplete (./node_modules/smtp-connection/lib/smtp-connection.js:1236:5)
      at SMTPConnection.<anonymous> (./node_modules/smtp-connection/lib/smtp-connection.js:319:22)
      at SMTPConnection._processResponse (./node_modules/smtp-connection/lib/smtp-connection.js:669:16)
      at SMTPConnection._onData (./node_modules/smtp-connection/lib/smtp-connection.js:493:10)
      at emitOne (events.js:116:13)
      at TLSSocket.emit (events.js:211:7)
      at addChunk (_stream_readable.js:263:12)
      at readableAddChunk (_stream_readable.js:250:11)
      at TLSSocket.Readable.push (_stream_readable.js:208:10)
      at TLSWrap.onread (net.js:601:20)
  version: "4.6.7"
  origin: "jobs:mailer"

But if I use any of these two formats, sending emails works perfectly
TALK_SMTP_FROM_ADDRESS=comentariosverdepistacho@gmail.com
TALK_SMTP_FROM_ADDRESS="Verde Pistacho" comentariosverdepistacho@gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.