Reputation: 9722
Does anybody know of any good libraries I can use to send a mail via SMTP from Haskell? I found SMTPClient
and HaskellNet
. The former does not support TLS
and the latter does not seem to have examples for using TLS to send an email via SMTP. Did anybody manage to do that?
Upvotes: 33
Views: 2128
Reputation:
Read This Pages :
http://hackage.haskell.org/package/HaskellNet-SSL-0.2.1/docs/Network-HaskellNet-SMTP-SSL.html
Easily Connector :)
https://github.com/dpwright/HaskellNet-SSL
Maybe this can help you!
Set Your Username And Password:
By send commands
sendCommand :: SMTPConnection -> Command -> IO (ReplyCode, ByteString)
Upvotes: 2