'Email sent from an MTA is delivered'

def test_smtp(self):

    import smtplib
    (msg, subject) = new_message('someone@example.com', TEST_ADDRESS)
    s = smtplib.SMTP(TEST_SERVER, 25)
    s.sendmail('someone@example.com', [TEST_ADDRESS], msg)
    s.quit()
    self.assertIMAPReceived(subject)
