jhickner / smtp-mail

Making it easy to send SMTP email from Haskell
BSD 3-Clause "New" or "Revised" License
75 stars 32 forks source link

TLS handshake failure for the non-START TLS #35

Open luntain opened 2 years ago

luntain commented 2 years ago

Getting

*** Exception: HandshakeFailed (Error_Packet_Parsing "Failed reading: invalid header type: 50\nFrom:\theader\n\n")

when using sendMailWithLoginTLS'. The STARTLS variant works, though.

Perhaps the same issue as discussed here: https://stackoverflow.com/questions/13430780/gmail-tls-hanshake-failure-in-haskell