I have a working solution on Win32 to send mail via SMTP which is only reliant on Net::SMTP and MIME::Base64. Takes care of authorization. It is very low level (does things like $smtp->datasend("AUTH LOGIN\n");), still if you are interested I can bring it to a readable shape.