| Stability | experimental |
|---|---|
| Maintainer | Ertugrul Soeylemez <es@ertes.de> |
Network.Smtp.Types
Description
Types used by ismtp.
- type Mail r a = MailT r IO a
- type MailT r m = Iteratee SmtpResponse (StateT r MailConfig m)
- type StringMailT r m = Iteratee ByteString (StateT r MailConfig 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 = Iteratee SmtpResponse (StateT r MailConfig m)Source
The MailT monad transformer encapsulates an SMTP session.
type StringMailT r m = Iteratee ByteString (StateT r MailConfig m)Source
Convenient type alias for raw streams. Needed by
Network.Smtp.Monad.runMailT.
SMTP service extensions
SMTP service extension.
Constructors
| AuthExt (Set AuthMethod) | Authentication extension. |
data AuthMethod Source
Authentication methods for the SMTP authentication extension.
Constructors
| AuthMethod | We don't know any authentication methods yet. |
Instances
Other types
data MailConfig Source
Mail session configuration.
Constructors
| MailConfig | |
Fields
| |
data SmtpCommand Source
Failed SMTP command (used by SmtpException).
Constructors
| SmtpWelcomeCmd | Waiting for welcome message. |
| SmtpHelloCmd ByteString | EHLO or HELO with domain. |
| SmtpMailFromCmd ByteString | MAIL FROM with address. |
| SmtpRcptToCmd ByteString | RCPT TO with address. |
| SmtpDataCmd | DATA. |
| SmtpResetCmd | RSET. |
| SmtpQuitCmd | QUIT. |
data SmtpResponse Source
SMTP response.
Constructors
| SmtpResponse | |
Fields
| |
Instances