Copyright | (c) digitally induced GmbH 2020 |
---|---|
Safe Haskell | None |
Synopsis
- data MailServer
- = SES {
- accessKey :: ByteString
- secretKey :: ByteString
- region :: Text
- | Sendmail
- | SendGrid { }
- | SMTP {
- host :: String
- port :: PortNumber
- credentials :: Maybe (String, String)
- encryption :: SMTPEncryption
- = SES {
- data MailAttachment = MailAttachment {
- name :: Text
- content :: LByteString
- contentType :: Text
- data SMTPEncryption
- = Unencrypted
- | TLS
- | STARTTLS
Documentation
data MailServer Source #
SES | Uses AWS SES for sending emails |
| |
Sendmail | Uses the local Sendmail binary for sending emails |
SendGrid | Uses SendGrid for sending emails |
SMTP | Uses a generic SMTP server for sending emails |
|
data MailAttachment Source #
MailAttachment | |
|
Instances
Show MailAttachment Source # | |
Defined in IHP.Mail.Types showsPrec :: Int -> MailAttachment -> ShowS # show :: MailAttachment -> String showList :: [MailAttachment] -> ShowS # | |
Eq MailAttachment Source # | |
Defined in IHP.Mail.Types (==) :: MailAttachment -> MailAttachment -> Bool # (/=) :: MailAttachment -> MailAttachment -> Bool # |
data SMTPEncryption Source #
Configuration for a mailer used by IHP
Instances
EnvVarReader SMTPEncryption Source # | Allow reading the env var of an SMTP encryption method. |
Defined in IHP.EnvVar |