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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to write into a open connection on port 587 via connectTls, I'm getting the error:
InvalidData: received corrupt message of type InvalidContentType
at async write (ext:deno_net/01_net.js:32:10)
at async sendEmail (<anonymous>:11:5)
at async <anonymous>:17:1 {
name: "InvalidData"
}
This is the code example I used / how the issue can be reproduced:
If I try to start the connection via connect and then switch the connection over with startTls, I'm getting the same error:
InvalidData: received corrupt message of type InvalidContentType
at async write (ext:deno_net/01_net.js:32:10)
at async sendEmail (<anonymous>:13:5)
at async <anonymous>:19:1 {
name: "InvalidData"
}
This affects sending emails over a secure connection via Deno. On the other hand, when port 465 on the SMTP server is available, it works without any problems.
If I run openssl s_client -debug -starttls smtp -crlf smtp.mydomain.com:587 everything seems to work fine.
Any ideas how to fix this bug? It affects the Deno mailing packages like:
If I try to write into a open connection on port
587
viaconnectTls
, I'm getting the error:This is the code example I used / how the issue can be reproduced:
If I try to start the connection via
connect
and then switch the connection over withstartTls
, I'm getting the same error:Code example:
This affects sending emails over a secure connection via Deno. On the other hand, when port
465
on the SMTP server is available, it works without any problems.If I run
openssl s_client -debug -starttls smtp -crlf smtp.mydomain.com:587
everything seems to work fine.Any ideas how to fix this bug? It affects the Deno mailing packages like:
InvalidContentType
on send EC-Nordbund/denomailer#74Could also be related to:
Especially:
Thanks in advance.
The text was updated successfully, but these errors were encountered: