Hi Monks

Need a suggestion. I wanted to have my script to be able to send mail to specified mailing address, I am in WIN32.Regarding this, I tried using NET::SMTP, but NET::SMTP couldn't help me much. I finally got it using MIME::LITE but here is few observation: Got this earlier node on the same subject http://www.perlmonks.org/?node_id=622121

Even using MIME::LITE it's not that straight forward.

1. it has a dependency, you have to have module "Email::Date::Format" for MIME::LITE to work.

2. If you are passing the mail through an external program like "sendmail" then OK ... otherwise if you are using a SMTP server,got to authenticate yourself to send the mail you need again 2 other modules "MIME::BASE64" and "AUTHEN::SASL".

For my case, I have tp pass through the SMTP server, authenticating it. Is there any other way, I can get around this without using MIME::LITE. please suggest.

Thanks.

In reply to Sending mail from perl script by Anonymous Monk

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.