Maintainer | Ertugrul Soeylemez <es@ertes.de> |
---|
Types used by ismtp.
- type Mail r = MailT r IO
- type MailT r m = StateT r MailConfig (Iteratee SmtpResponse m)
- data Extension = AuthExt (Set AuthMethod)
- data AuthMethod = AuthMethod
- data MailConfig = MailConfig {}
- data SmtpCommand
- data SmtpException = SmtpException {}
- data SmtpResponse = SmtpResponse {}
Mail monad
type MailT r m = StateT r MailConfig (Iteratee SmtpResponse m)Source
The MailT
monad transformer encapsulates an SMTP session.
SMTP service extensions
SMTP service extension.
AuthExt (Set AuthMethod) | Authentication extension. |
data AuthMethod Source
Authentication methods for the SMTP authentication extension.
AuthMethod | We don't know any authentication methods yet. |
Other types
data MailConfig Source
Mail session configuration.
MailConfig | |
|
data SmtpCommand Source
Failed SMTP command (used by SmtpException
).
SmtpDataCmd | DATA. |
SmtpHelloCmd ByteString | EHLO or HELO with domain. |
SmtpMailFromCmd ByteString | MAIL FROM with address. |
SmtpQuitCmd | QUIT. |
SmtpRcptToCmd ByteString | RCPT TO with address. |
SmtpResetCmd | RSET. |
SmtpVerifyCmd ByteString | VRFY with the given user name. |
SmtpWelcomeCmd | Waiting for welcome message. |
data SmtpResponse Source
SMTP response.
SmtpResponse | |
|