very small python smtpish send

Roman Suzi rnd at
Sat Oct 9 07:15:02 CEST 2004

On Fri, 8 Oct 2004, Brad Tilley wrote:

>Anyone know of a small Python script that acts as a slimmed down smtp
>server (just sends from the local machine)? I currently use a smtp
>server for sending email reports from machines, but as machines travel
>outside of our lan, the smtp server refuses to relay their messages. So,
>I thought it would be better if each machine had its own little mail
>sender this way, it could continue reporting no matter where it was located.

It is not good to send mail from anywhere because direct smtp from
arbitrary IPs are often considered spamish. Consider setting up
secure smtp server which will receive authenticated mail from any
corporate client on special port.

>These are all Windows machines... is there a Windows equivalent to
>'stdin | mail -s "Subject" email at' that comes on most Unix

Sincerely yours, Roman Suzi
rnd at =\= My AI powered by GNU/Linux RedHat 7.3

More information about the Python-list mailing list