A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/064812.html below:

Writing 'intercepted' e-mail message to a mailbox

Writing 'intercepted' e-mail message to a mailbox Writing 'intercepted' e-mail message to a mailboxJacobus van der Merwe jacobus at geo.co.za
Thu Apr 19 04:12:21 EDT 2001
Hi,

I am redirecting all email sent user1 at myhost.co.za to a python script,
which
extracts certain data from the e-mail and writes it to file.  But now I
still want
user1 to receive this e-mail.

I read the incoming mail using
  mailMessage = rfc822.Message(sys.stdin)

How can I get the message from my variable mailMessage into user1's
mailbox??  I can not find a method that does it.

Thanks in advance,

Jacobus



More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4