Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://803251]
[Corion]: The code is 00000000, as always, no?
[GotToBTru]: I remember hearing about somebody misplacing a list of code phrases or something
[marto]: 12345
[GotToBTru]: the "nuclear codes" are in the case cuffed to the wrist of some guy
[LanX]: not always
[LanX]: it's up to the Supreme commander
[GotToBTru]: we don't have one of those ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2017-01-20 12:43 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (174 votes). Check out past polls.