ContentsIndex
MIME
Synopsis
data DOC = DOC {
mediatype :: String
subtype :: String
parameters :: [KV]
filename :: String
contentDisposition :: ContentDisposition
messageData :: String
textLines :: [String]
parts :: [DOC]
}
data SendMode
= EightBit
| SevenBit
data SendControl = SendControl {
sendH :: Handle
sendMode :: SendMode
}
data CRLF = CRLF
data Mail = Mail {
to :: [String]
subject :: String
cc :: [String]
bcc :: [String]
headers :: [Header]
contents :: DOC
}
class Send m where
send :: m -> IO ()
hSend :: SendControl -> m -> IO ()
Produced by Haddock version 0.6