Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: email on WIN32

by weismat (Friar)
on Oct 26, 2009 at 12:47 UTC ( #803251=note: print w/ replies, xml ) Need Help??

in reply to email on WIN32

I have used Net::SMTP:SSL together with Mime::Lite against yahoo in the past. Example (untested)

#!/usr/local/bin/perl -w use Net::SMTP::SSL; $smtp = Net::SMTP::SSL->new('mailhost'); $smtp = Net::SMTP->new('', Port=>465); $smtp->auth($user, $password); $smtp->mail(); $smtp->to('xxx'); $smtp->data(); $smtp->datasend("To: xxx\n"); $smtp->datasend("\n"); $smtp->datasend("$mime->as_string"); $smtp->dataend(); $smtp->quit;
You need to use the Winnipeg PPM to get any SSL related libs on Windows.

Comment on Re: email on WIN32
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://803251]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-11-28 11:32 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (741 votes), past polls