rg/wiki/FiltersSourcesAndSinks"> LTN012, Filters
sources and sinks</a> and the  <a href=mime.html>MIME</a> module is
assumed.  In fact, the SMTP module was the main reason for their 
creation. </p>

<p> 
To obtain the <tt>smtp</tt> namespace, run:
</p>

<pre class=example>
-- loads the SMTP module and everything it requires
local smtp = require("socket.smtp")
</pre>

<p>
MIME headers are represented as a Lua table in the form:
</p>

<blockquote>
<table summary="MIME headers in Lua table">
<tr><td><tt>
heade