imap: http://docs.python.org/lib/module-imaplib.html pop: http://docs.python.org/lib/module-poplib.html or mbox: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/157437
Milters also look like they might be apropos: http://www.bmsi.com/python/milter.html --Michael On 1/14/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > ok i dont want to write an mta > i want to use another mta > to recieve emails on say - > > [EMAIL PROTECTED] > > 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 > thanks > > > > On 1/13/08, Michael Langford <[EMAIL PROTECTED]> wrote: > > 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 > > Smtpd:http://barry.warsaw.us/software/Code/smtpd.py > > > > 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: > > > http://info.internet.isi.edu/in-notes/rfc/files/rfc821.txt > > > > --Michael > > > > PS: What's the tutor policy on cross posting? > > > > > > On 1/14/08, [EMAIL PROTECTED] < [EMAIL PROTECTED]> 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 > > > [EMAIL PROTECTED] > > > > > > how to make python recieve emails and process it > > > after that it is straight forward processing in python inserting in db > etc > > > > > > _______________________________________________ > > > Tutor maillist - Tutor@python.org > > > http://mail.python.org/mailman/listinfo/tutor > > > > > > > > > > > > -- > > Michael Langford > > Phone: 404-386-0495 > > Consulting: http://www.RowdyLabs.com > > > > -- Michael Langford Phone: 404-386-0495 Consulting: http://www.RowdyLabs.com _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor