|Keep It Simple, Stupid|
Sending email on a Windows enviroment not using ActivePerl or StrawberryPerlby BAJA (Novice)
|on Feb 01, 2012 at 21:24 UTC||Need Help??|
BAJA has asked for the
wisdom of the Perl Monks concerning the following question:
I know there are a some threads about sending an email on Windows but those are focused for people that use ActivePerl, but in my case I build Perl from the source.
I have installed:
I know that my error comes from not setting correctly the host server, but this is exactly what I don't understand.
From what I have seen in the other threads, marvelous Linux works fairly easy with an application called sendmail.exe. But there is not such a thing on Windows. Supposedly by having installed Net::SMTP, whichever MIME::Lite will use as default and would work without any problem. But still it does not work for me.
I have tried the following without success:MIME::Lite->send( "smtp", "smtp.gmail.com", Timeout=>30, AuthUser=>"email@example.com", AuthPass=>"whatApassword" );
So, if there anyone with a clue of what am I doing wrong here, I will appreciate your input. Also, if there is someone who can explain me a little bit about this host that has to be set? for example in Linux there is this application that works for sending emails but in Windows you need a server?, definitely, I really don't understand this mess, I'm quite confused.