title: Trying to send email from python
body: <p>i am new to python, when am trying to sending mail by using python  my program is bellow</p>
  
  <pre><code>import smtplib
  from smtplib import SMTP
  
  sender = 'raju.ab@gmail.com'
  receivers = ['sudeer.p@eunoia.in']
  
  message = """ this message sending from python
  for testing purpose
  """
  
  try:
  smtpObj = smtplib.SMTP('smtp.gmail.com', 587)
  smtpObj.ehlo()
  smtpObj.starttls()
  smtpObj.ehlo()
  smtpObj.login(username,password)
  smtpObj.sendmail(sender, receivers, message)
  smtpObj.quit()
  print "Successfully sent email"
  except smtplib.SMTPException:
  </code></pre>
  
  <p>print "Error: unable to send email"</p>
  
  <p>when i execute it shows Error: unable to send mail message, how to send email in python please explain</p>