# 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.