smtp-mail icon indicating copy to clipboard operation
smtp-mail copied to clipboard

Making it easy to send SMTP email from Haskell

Results 12 smtp-mail issues
Sort by recently updated
recently updated
newest added

When testing with Exchange I've found that the `Bcc` mail header is passed on to all recipients of the email. I'm not sure whether other SMTP servers have the same...

Hey, I have been trying to send an email with the following code: ```haskell {-# LANGUAGE OverloadedStrings #-} module Main where import qualified MyLib (someFunc) import qualified Data.Text as T...

This library supports `PLAIN`, `LOGIN` and `CRAM_MD5` authentication mechanisms. This issue is a feature request for OAuth2 based authentication for sending emails with this library, with a `XOAUTH2` constructor for...

This change adds `sendMailWithLoginOAuthSTARTTLS` to the `Network.Mail.SMTP` module. This function accepts a username and an OAuth token and encodes them with base 64 in SASL XOAUTH2 format, for SMTP OAUTH...

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

I get this error when calling `sendMailWithLogin' "smtp.gmail.com" 465 "[email protected]" "password" mail` Nothing else! How do I get more information about the error? Any idea what can be causing it?

Current versions on hackage cause null part error. But this bug is fixed with last versions of mime-mail and mime-mail-ses already: see: https://github.com/snoyberg/mime-mail Thanks for maintaining this library

(I think you need to bundle it for the readme to be displayed on hackage)

My mail server accepts `AUTH` only after `STARTSSL` and replies with `530 5.7.0 Must issue a STARTTLS command first` otherwise. But this error message is [ignored in `sendCommand`](https://github.com/jhickner/smtp-mail/blob/dd749beeb3a8cc6e53946fd5908004d030861065/Network/Mail/SMTP.hs#L153), which leads...