Hello,
I’m trying to send invitations setting config.yaml like this:
astronomer:
houston:
config:
email:
enabled: true
from: “signedemail@mydomain.com”
smtpUrl: “smtps://apikey:SG.sometoken@smtp.sendgrid.net:465/?pool=true”
But a get this error:
UnhandledPromiseRejectionWarning: Error: Message failed: 550 The from address does not match a verified Sender Identity. Mail cannot be sent until this error is resolved. Visit https://sendgrid.com/docs/for-developers/sending-email/sender-identity/ to see the Sender Identity requirements at SMTPConnection._formatError (/houston/node_modules/nodemailer/lib/smtp-connection/index.js:774:19) at SMTPConnection._actionSMTPStream (/houston/node_modules/nodemailer/lib/smtp-connection/index.js:1647:34) at SMTPConnection._responseActions.push.str (/houston/node_modules/nodemailer/lib/smtp-connection/index.js:1137:22) at SMTPConnection._processResponse (/houston/node_modules/nodemailer/lib/smtp-connection/index.js:933:20) at SMTPConnection._onData (/houston/node_modules/nodemailer/lib/smtp-connection/index.js:739:14) at TLSSocket._socket.on.chunk (/houston/node_modules/nodemailer/lib/smtp-connection/index.js:691:47) at TLSSocket.emit (events.js:198:13) at addChunk (_stream_readable.js:288:12) at readableAddChunk (_stream_readable.js:269:11) at TLSSocket.Readable.push (_stream_readable.js:224:10) at TLSWrap.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
I can’t get what is the email from of the request. The token and email works using the curl command.
What I’m doing wrong?
Thanks in advance.
Marco