Hi All, I'm hoping someone has some experience in this field and could give me a pointer in the right direction - it's not purely python related though. Any modules/links someone has tried and found useful would be greatly appreciated...
I want to have an automated process which basically has its own email account on the LAN. The basic idea is that upon receipt of an email, it logs this in a database and then forwards the message on to 'suitable' recipients. (Well it will do more, but this is perfect to be going on with and buildable on...) The database and email account are set up and working fine. Using smtplib, imaplib or poplib I can send and receive mail - this is not a problem. What I'm unsure of is the best way to design this. Bear in mind that network/email server configuration changes can be made. For instance, do I connect to the email server and keep polling it every 'n' whatever for new messages, or should I be looking to the smtpd module and get mail via that? (or any other way?) I think I'm basically after the best way to implement: Email in ------> Python process ------> Email out Cheers, Jon. -- http://mail.python.org/mailman/listinfo/python-list