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:
But Windows doesn’t do sendmail, so you have to talk to the SMTP server directly:
That seems to work.