BAJA has asked for the wisdom of the Perl Monks concerning the following question:
Hi everyone,
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:
MIME::Lite
MIME::Lite::TT::HTML
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=>"i_am_serious@gmail.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.
Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Sending email on a Windows enviroment not using ActivePerl or StrawberryPerl
by chessgui (Scribe) on Feb 02, 2012 at 07:14 UTC | |
by BAJA (Novice) on Feb 02, 2012 at 14:26 UTC | |
by chessgui (Scribe) on Feb 02, 2012 at 14:51 UTC | |
Re: Sending email on a Windows enviroment not using ActivePerl or StrawberryPerl
by Anonymous Monk on Feb 02, 2012 at 03:33 UTC | |
by BAJA (Novice) on Feb 02, 2012 at 14:25 UTC | |
by Corion (Patriarch) on Feb 02, 2012 at 14:31 UTC |