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


In reply to Sending email on a Windows enviroment not using ActivePerl or StrawberryPerl by BAJA

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.