By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,942 Members | 1,788 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,942 IT Pros & Developers. It's quick & easy.

email notifier question ??

P: n/a
hi guys!
I want to use python send an email to acceptor.  And i hope to
receive the message that the acceptor has read my email.

So how to realize that get the message?
Nov 14 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
2008/11/13 yoma <yo********@gmail.com>:
hi guys!
I want to use python send an email to acceptor. And i hope to
receive the message that the acceptor has read my email.

So how to realize that get the message?
To send an email using Python, you'll need to use the `smtplib`
module: http://docs.python.org/library/smtpl...module-smtplib

You'll have to check the relevant standards/specs related to email for
how to request a return receipt from the recipient in the message you
send.

Cheers,
Chris
--
Follow the path of the Iguana...
http://rebertia.com
--
http://mail.python.org/mailman/listinfo/python-list
Nov 14 '08 #2

P: n/a
On 2008-11-14, yoma <yo********@gmail.comwrote:
I want to use python send an email to acceptor.
That's easy.
 And i hope to receive the message that the acceptor
has read my email.
That's not generally possible.
So how to realize that get the message?
In the message you send, ask the reader to send you an e-mail
in reply.

--
Grant

Nov 14 '08 #3

P: n/a
Is it really impossible to get the message receipt ??
i hope more people to help me!
Nov 14 '08 #4

P: n/a
yoma wrote:
Is it really impossible to get the message receipt ??
i hope more people to help me!
Even though it is possible to 'Request a return receipt" there is no
guarantee that the recipient will agree to send one.

If the recipient *does* allow a return receipt to be sent you will have
to use the poplib library to read the mailbox to which the return
receipts are sent.

You can find examples on the web.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/

Nov 14 '08 #5

P: n/a
On Thu, 13 Nov 2008 18:48:04 -0800, Chris Rebert <cl*@rebertia.comwrote:
2008/11/13 yoma <yo********@gmail.com>:
>hi guys!
I want to use python send an email to acceptor. And i hope to
receive the message that the acceptor has read my email.

So how to realize that get the message?

To send an email using Python, you'll need to use the `smtplib`
module: http://docs.python.org/library/smtpl...module-smtplib
Well, on Unix it's more correct (and easier) to pipe the mail into
/usr/lib/sendmail. Saves you the trouble of configuring SMTP for every
mail-enabled application, and is more robust (buffer the mail if the
mail relay server is down, or if IP is down; bounce undeliverable
messages and so on -- all those robustness features of Internet mail).

(I'm assuming here that "user-friendly" Linux distributions haven't
broken this old convention. I know Debian still insists on configuring
it, but of course the administator can break it on purpose.)

It would be nice with a Python module which encapsulated "send a mail"
in the best possible way for the current machine. Maybe there are even
easy ways to do it on Windows.

/Jorgen

--
// Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu
\X/ snipabacken.se R'lyeh wgah'nagl fhtagn!
Nov 14 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.