WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.Source codeContentsIndex
WASH.Mail.MIME
Documentation
data DOC Source
Constructors
DOC
mediatype :: String
subtype :: String
parameters :: [KV]parameters of the media type
filename :: Stringsuggested filename, OBSOLETE
contentDisposition :: ContentDispositionsets Content-Disposition, e.g. for suggesting a filename depending on mediatype only one of the following is relevant:
messageData :: Stringdata, only relevant for binary data
textLines :: [String]lines, only relevant for text mediatypes
parts :: [DOC]data, only relevant for multipart mediatypes
data SendMode Source
Constructors
EightBit
SevenBit
data SendControl Source
Constructors
SendControl
sendH :: Handle
sendMode :: SendMode
data CRLF Source
Constructors
CRLF
data Mail Source
Constructors
Mail
to :: [String]
subject :: String
cc :: [String]
bcc :: [String]
headers :: [Header]
contents :: DOC
class Send m whereSource
Methods
send :: m -> IO ()Source
hSend :: SendControl -> m -> IO ()Source
Produced by Haddock version 2.6.0