1 <?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">
3 <title>Twisted Documentation: Twisted Mail code examples</title>
4 <link href="../howto/stylesheet.css" rel="stylesheet" type="text/css"/>
8 <h1 class="title">Twisted Mail code examples</h1>
9 <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>
13 <h2>SMTP servers<a name="auto0"/></h2>
15 <li><a href="emailserver.tac" shape="rect">emailserver.tac</a> - a toy email server.</li>
18 <h2>SMTP clients<a name="auto1"/></h2>
20 <li><a href="smtpclient_simple.py" shape="rect">smtpclient_simple.py</a> - sending email using SMTP.</li>
21 <li><a href="smtpclient_tls.py" shape="rect">smtpclient_tls.py</a> - send email
22 using authentication and transport layer security.</li>
25 <h2>IMAP clients<a name="auto2"/></h2>
27 <li><a href="imap4client.py" shape="rect">imap4client.py</a> - Simple IMAP4
28 client which displays the subjects of all messages in a
29 particular mailbox.</li>
33 <p><a href="../howto/index.html">Index</a></p>
34 <span class="version">Version: 12.1.0</span>