title: mail not being received with python SMTP
body: <p>Hello I am trying to make python 3 send a simple email from Ubuntu.</p>
  
  <p>I started a simple smpt server with:
  python -m smtpd -n -c DebuggingServer localhost:1025</p>
  
  <p>The following is the code for my email server:</p>
  
  <pre><code>import smtplib
  
  message = """
  Hello
  """
  sender = "dancbtalk@yahoo.com"
  receivers=["dancbtalk@yahoo.com"]
  try:
     smtpObj = smtplib.SMTP('localhost', 1025)
     smtpObj.sendmail(sender, receivers, message)         
     print "Successfully sent email"
  except smtplib.SMTPException:
     print "Error: unable to send email"
  </code></pre>
  
  <p>My output says that the email is send successfully but when I actually check that email account, it has received nothing.  I have tried this with several email accounts.</p>