using MIME::Lite from ActiveState Perl on Windows

Wouldn’t you know it, but Windows just has to do things its own way. I’ve just started writing periodic system monitoring programs for our met station network, and needed to send e-mail. Under Unix, it was a simple matter of using MIME::Lite, and calling:

$msg->send();

But Windows doesn’t do sendmail, so you have to talk to the SMTP server directly:

$msg->send_by_smtp('your.SMTP.server.here');

That seems to work.

Leave a Reply

Your email address will not be published. Required fields are marked *