Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module exports internals of Hailgun
Breaking changes in this module will NOT be reflected in a change to the first two components of the package version number.
Synopsis
- data HailgunMessage = HailgunMessage {
- messageSubject :: MessageSubject
- messageContent :: MessageContent
- messageFrom :: VerifiedEmailAddress
- messageTo :: [VerifiedEmailAddress]
- messageCC :: [VerifiedEmailAddress]
- messageBCC :: [VerifiedEmailAddress]
- messageAttachments :: [SpecificAttachment]
- data SpecificAttachment = SpecificAttachment {}
- data AttachmentType
Documentation
data HailgunMessage Source #
A Hailgun Email message that may be sent. It contains important information such as the address that the email is from, the addresses that it should be going to, the subject of the message and the content of the message. Any email that you wish to send via this api must be converted into this structure first. To create a message then please use the hailgunMessage interface.
HailgunMessage | |
|
Instances
Show HailgunMessage Source # | |
Defined in Mail.Hailgun.Internal.Data showsPrec :: Int -> HailgunMessage -> ShowS # show :: HailgunMessage -> String # showList :: [HailgunMessage] -> ShowS # |
data SpecificAttachment Source #
Instances
Show SpecificAttachment Source # | |
Defined in Mail.Hailgun.Internal.Data showsPrec :: Int -> SpecificAttachment -> ShowS # show :: SpecificAttachment -> String # showList :: [SpecificAttachment] -> ShowS # |
data AttachmentType Source #
Instances
Eq AttachmentType Source # | |
Defined in Mail.Hailgun.Internal.Data (==) :: AttachmentType -> AttachmentType -> Bool # (/=) :: AttachmentType -> AttachmentType -> Bool # | |
Show AttachmentType Source # | |
Defined in Mail.Hailgun.Internal.Data showsPrec :: Int -> AttachmentType -> ShowS # show :: AttachmentType -> String # showList :: [AttachmentType] -> ShowS # |