|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
| qline_max :: Int |
|
| line_max :: Int |
|
| formatHeader :: String -> String -> ByteString |
| Formats an e-mail header by encoding any non-ascii characters using UTF-8
and Q-encoding, and folding lines at appropriate points. It doesn't do
more than that, so the header name and header value should be
well-formatted give or take line length and encoding. So no non-ASCII
characters within quoted-string, quoted-pair, or atom; no semantically
meaningful signs in names; no non-ASCII characters in the header name;
etcetera.
|
|
| fold_and_encode :: String -> Int -> Bool -> Bool -> ByteString |
|
| qEncode :: String -> ByteString |
| Turns a piece of string into a q-encoded block
Applies q-encoding, for use in e-mail header values, as defined in RFC 2047.
It just takes a string and builds an encoded-word from it, it does not check
length or necessity.
|
|
| encoded_word_end :: ByteString |
|
| encoded_word_start :: ByteString |
|
| q_encode_char :: Char -> ByteString |
|
| qpencode :: ByteString -> ByteString |
|
| encode :: ByteString -> Int -> Ptr Word8 -> Int -> IO Int |
|
| qpdecode :: ByteString -> ByteString |
|
| decode :: [ByteString] -> Ptr Word8 -> Int -> IO Int |
|
| make_email :: String -> [(String, String)] -> Maybe Doc -> Doc -> Maybe String -> Doc |
|
| read_email :: ByteString -> ByteString |
|
| Produced by Haddock version 2.4.2 |