send an email with python
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/348392/receive-and-send-emails-in-python">Receive and send emails in python</a>  </p>
</blockquote>



<p>I tried searching but couldn't find a simple way to send an email.</p>

<p>I'm looking for something like this:</p>

<pre><code>from:"Test1@test.com"#email sender
To:"test2@test.com"# my email
content:open('x.txt','r')
</code></pre>

<p>Everything I've found is complicated really: my project doesn't need so many lines.</p>

<p>Please, I like to learn: leave comments in each code and explain  </p>
