272
272
sendmail automatically adds Return-Path and Errors-To headers to
273
273
provide better bounce handling.
276
276
>>> from_addr, to_add, raw_message = stub.test_emails.pop()
277
277
>>> sent_msg = email.message_from_string(raw_message)
278
278
>>> sent_msg['Return-Path'] == config.canonical.bounce_address