WashNGo-2.12: WASH is a family of embedded domain specific languages (EDSL) for programming Web applications in Haskell.ContentsIndex
WASH.Mail.MIME
Documentation
data DOC
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
show/hide Instances
data SendMode
Constructors
EightBit
SevenBit
data SendControl
Constructors
SendControl
sendH :: Handle
sendMode :: SendMode
data CRLF
Constructors
CRLF
show/hide Instances
data Mail
Constructors
Mail
to :: [String]
subject :: String
cc :: [String]
bcc :: [String]
headers :: [Header]
contents :: DOC
show/hide Instances
class Send m where
Methods
send :: m -> IO ()
hSend :: SendControl -> m -> IO ()
show/hide Instances
Produced by Haddock version 0.8