We have trying different formats to send mail from Astronomer docker container using Airflow.
The different formats which we have tried in our YAML file are:
reply: "EmailID" smtpUrl: smtp://IP:port/?requireTLS=true
We have used port as 25 & TLS values as true/false but still we are getting below error.
node:29) UnhandledPromiseRejectionWarning: Error: unable to verify the first certificate at TLSSocket.onConnectSecure (_tls_wrap.js:1058:34) at TLSSocket.emit (events.js:198:13) at TLSSocket._finishInit (_tls_wrap.js:636:8) (node:29) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:29) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Can anyone help in solving this error?