next up previous contents
Next: Others: Up: Sending Mail: Sendmail and Previous: SSMTP:   Contents

Putmail.py:

Just as easy, if not easier, is Putmail.py, a tiny python script that provides a dead simple interface for sending mail. It's a simple 13 KB download and an even simpler 5 line configuration file, and you are up and running. Once it is working you can even configure other software to use it, such as the slrn newsreader. This is now my preferred configuration on the Macintosh, which lacks easy postfix configuration utilities, while on SUSE I stick with YaST2 and Postfix.4 There are two packages: putmail.py and putmail-queue.py. The latter allows you to build up a queue of outgoing mail while you're offline, then send it all at once. A putmail.py configuration file is as simple as the following. In most cases, your email address and username should be the same:

[config]
server = OUTGOING.MAIL.SERVER
email = YOUR@FROMMAIL.ADDRESS
password = PASS
username = USERNAME@FROMMAIL.ADDRESS



Randall Wood 2009-12-02