title: How do I get the response back from server after an email sending?
body: <p>I want to get response from server with server status (eg. 200, 500) that says if message was delivered. How to do that?</p>
  
  <pre><code>&gt;&gt; s = smtplib.SMTP('...')
  &gt;&gt; resp = s.sendmail('me@me.com', 'exist@email.com', 'message')
  &gt;&gt; print resp
  {}
  &gt;&gt; resp = s.sendmail('me@me.com', 'does-not-exist-email@email.com', 'message')
  &gt;&gt; print resp
  {}
  &gt;&gt; resp = s.sendmail('me@me.com', 'does-not-exist-domain@email000.com', 'message')
  &gt;&gt; print resp
  {}
  </code></pre>
  
  <p>o_O</p>
  
  <p>Thanks.</p>