Smtplib module
Grant Edwards
grante at visi.com
Sat Oct 20 22:30:57 EDT 2001
On Sun, 21 Oct 2001 03:56:58 +0200, Gerhard Häring <gh_pythonlist at gmx.de> wrote:
>> >> I want to use smtplib module for sending emails. Is there any way how
>> >> I can test a return code, generated by this module, to see if an email
>> >> was accepting for delivery, for example?
>> >
>> >No, there is no way to do this. But this is a "feature" of
>> >SMTP, not of Python's smtplib.
>>
>> Sure there is. There's no way to know if the message was
>> delivered or read, but you can certainly find out if the SMTP
>> server accepted it. The documentation for the "sendmail" method
>> states: [...]
>
>Ok. I confused "accepted for delivery" with "actually delivered".
That _is_ a problem with SMTP. The two options are:
1) Wait a week or so for a bounce message.
2) Wait an hour or so and make a phone call to the recipient.
--
Grant Edwards grante Yow! Look into my eyes and
at try to forget that you have
visi.com a Macy's charge card!
More information about the Python-list
mailing list