| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Mail.Mime.SES
Synopsis
- sendMailSES :: MonadIO m => Manager -> SES -> ByteString -> m ()
- sendMailSESWithResponse :: MonadIO m => Manager -> SES -> ByteString -> (Status -> Sink Event IO a) -> m a
- sendMailSESGlobal :: MonadIO m => SES -> ByteString -> m ()
- renderSendMailSES :: MonadIO m => Manager -> SES -> Mail -> m ()
- renderSendMailSESGlobal :: MonadIO m => SES -> Mail -> m ()
- data SES = SES {
- sesFrom :: !ByteString
- sesTo :: ![ByteString]
- sesAccessKey :: !ByteString
- sesSecretKey :: !ByteString
- sesSessionToken :: !(Maybe ByteString)
- sesRegion :: !Text
- usEast1 :: Text
- usWest2 :: Text
- euWest1 :: Text
- data SESException = SESException {}
Documentation
Arguments
| :: MonadIO m | |
| => Manager | |
| -> SES | |
| -> ByteString | Raw message data. You must ensure that the message format complies with Internet email standards regarding email header fields, MIME types, and MIME encoding. |
| -> m () |
sendMailSESWithResponse Source #
Arguments
| :: MonadIO m | |
| => Manager | |
| -> SES | |
| -> ByteString | |
| -> (Status -> Sink Event IO a) | What to do with the HTTP |
| -> m a |
Generalised version of sendMailSES which allows customising the final return type.
Since: 0.4.3
Arguments
| :: MonadIO m | |
| => SES | |
| -> ByteString | Raw message data. You must ensure that the message format complies with Internet email standards regarding email header fields, MIME types, and MIME encoding. |
| -> m () |
Same as sendMailSES but uses the global Manager.
Since: 0.4.1
renderSendMailSESGlobal :: MonadIO m => SES -> Mail -> m () Source #
Same as renderSendMailSES but uses the global Manager.
Since: 0.4.1
Constructors
| SES | |
Fields
| |
data SESException Source #
Exposed since: 0.3.2
Constructors
| SESException | |
Instances
| Show SESException Source # | |
Defined in Network.Mail.Mime.SES Methods showsPrec :: Int -> SESException -> ShowS # show :: SESException -> String # showList :: [SESException] -> ShowS # | |
| Exception SESException Source # | |
Defined in Network.Mail.Mime.SES Methods toException :: SESException -> SomeException # fromException :: SomeException -> Maybe SESException # displayException :: SESException -> String # | |