in reply to Re: how do i send an email with perl in window system
in thread how do i send an email with perl in window system

You could also save yourself some vertical space and try (my) Net::SMTP::OneLiner. There is a lot of stuff it doesn't do, but it's nice for cron jobs and things.
use strict; use Net::SMTP::OneLiner; send_mail( 'from@me', ['to1@you', 'to2@you'], "subject", "message\nmes +sage\nmessage\n" );

-Paul

Replies are listed 'Best First'.
Re: Answer: how do i send an email with perl in window system
by srs_boo (Initiate) on May 28, 2009 at 11:22 UTC
    Hello Paul, I was looking for this and I tried your steps exactly what you have stated above for sending emails in Perl using Net::SMTP::OneLiner. But unfortunately it is not working for me. I don't know what I have made wrong as I'm very new to Perl but just followed exactly your steps. Could you please let me know what I need to do in order to work? Thanks, Sachin
      I can't tell you how to fix it until you tell me what went wrong. Enable the debugging and report back with your findings and we'll see what we can do.

      -Paul