smtp-mail
smtp-mail copied to clipboard
bcc is not working
bcc field is ignored and instead is being included into main recipients email headers.
Not sure if the problem is in this library or in mime-mail package. Posted bug there too.
I tested with sendmail functions from mime-mail package, and bcc works correctly. So the problem is in smtp-mail package.
I encountered a similar issue, with cc and bcc failing. Fortunately this package: http://hackage.haskell.org/package/HaskellNet-0.5/docs/Network-HaskellNet-SMTP.html does work as expected, and in my case it was an easy switch to make (see particularly sendMimeMail2).