<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Twisted Documentation: Twisted Mail code examples</title> <link href="../howto/stylesheet.css" rel="stylesheet" type="text/css"/> </head> <body bgcolor="white"> <h1 class="title">Twisted Mail code examples</h1> <div class="toc"><ol><li><a href="#auto0">SMTP servers</a></li><li><a href="#auto1">SMTP clients</a></li><li><a href="#auto2">IMAP clients</a></li></ol></div> <div class="content"> <span/> <h2>SMTP servers<a name="auto0"/></h2> <ul> <li><a href="emailserver.tac" shape="rect">emailserver.tac</a> - a toy email server.</li> </ul> <h2>SMTP clients<a name="auto1"/></h2> <ul> <li><a href="smtpclient_simple.py" shape="rect">smtpclient_simple.py</a> - sending email using SMTP.</li> <li><a href="smtpclient_tls.py" shape="rect">smtpclient_tls.py</a> - send email using authentication and transport layer security.</li> </ul> <h2>IMAP clients<a name="auto2"/></h2> <ul> <li><a href="imap4client.py" shape="rect">imap4client.py</a> - Simple IMAP4 client which displays the subjects of all messages in a particular mailbox.</li> </ul> </div> <p><a href="../howto/index.html">Index</a></p> <span class="version">Version: 13.1.0</span> </body> </html>