smtp.sendmail read receipt?

Alex Rice alex at integretechpub.com
Mon Sep 10 17:02:45 EDT 2001


Scott Nadeau wrote:
> 
> I'm trying to figure out how to get a read receipt when a recipient
> has read an e-mail that my program is sending.  I've searched the web
> for the answer, but I can't seem to find it.  This is my current
> (working) code...

Hi, probably you just need to put a Return-Receipt-To: header. 
Try putting it before the Subject header, something like this:

"Return-Receipt-To:%\nSubject: ...", ('me at here.com', contents())

Beware that return-receipt is not something that's universally
supported!
Here is a FAQ about it
http://www.sendmail.org/~ca/email/dsn.html


Alex Rice



More information about the Python-list mailing list