[Tutor] Recieving emails in python

mobiledreamers at gmail.com mobiledreamers at gmail.com
Mon Jan 14 07:49:39 CET 2008

ok i dont want to write an mta
i want to use another mta
to recieve emails on say -

python at mygrouplist.com

so can i start reading the emails to python from that mta

How to set this up to read messages from the mta

sending out email
we are using sendmail so we ll continue using that for now
It depends.

If you're trying to write a MTA, think about looking at and stealing
parts of mailmain and smtpd.py

Mailman: http://www.gnu.org/software/mailman/index.html

If you're going to use someone else as a MTA then just use IMAP or POP
to get the mail out, there are IMAP and POP libraries

imap: http://docs.python.org/lib/module-imaplib.html
pop: http://docs.python.org/lib/module-poplib.html

Else, if you're writing this all from scratch, whip out the RFC and
start hacking:

On 1/13/08, mobiledreamers at gmail.com <mobiledreamers at gmail.com> wrote:
> I m trying to create something simple a mailing list similar to yahoo
> groups
> I m stumbling at the part where the python recieves messages via say
> python at yahoogroups.com
> how to make python recieve emails and process it
> after that it is straight forward processing in python inserting in db etc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080113/b789cf98/attachment.htm 

More information about the Tutor mailing list