Network.SMTP.Client.Simple
- sendStringAsEMail :: String -> String -> SMTPAuthMethod -> String -> String -> String -> String -> String -> String -> PortNumber -> String -> String -> [String] -> IO Bool
- data SMTPAuthMethod
Documentation
Arguments
| :: String | user |
| -> String | password |
| -> SMTPAuthMethod | the Auth method to use |
| -> String | from |
| -> String | to |
| -> String | subject |
| -> String | cc |
| -> String | bcc |
| -> String | smtp server |
| -> PortNumber | smtp port |
| -> String | helo domain (also localhost) |
| -> String | content |
| -> [String] | target recipients |
| -> IO Bool | True if the EMAIL is sent |
data SMTPAuthMethod Source
if True then display debug info
SMTP authorization method
Constructors
| PlainSMTPAuth | |
| LoginSMTPAuth |