Examples — Twisted 15.4.0 documentation
Description: An event-driven networking engine written in Python and MIT licensed.

HOME FAQ DOCS DOWNLOAD

### Navigation

- index
- next |
- previous |
- Twisted 15.4.0 documentation »
- Twisted Mail »

Go to the latest version of this document.

# Examples

## SMTP servers

- `emailserver.tac` - a toy email server.

## SMTP clients

- `sendmail_smtp.py` - sending email over plain SMTP with the high-level sendmail client.
- `sendmail_gmail.py` - sending email encrypted ESMTP to GMail with the high-level sendmail client.
- `sendmail_message.py` - sending a complex message with the high-level sendmail client.
- `smtpclient_simple.py` - sending email using SMTP.
- `smtpclient_tls.py` - send email using authentication and transport layer security.

## IMAP clients

- `imap4client.py` - Simple IMAP4 client which displays the subjects of all messages in a particular mailbox.