Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Pure Perl mailing for CGI?

by z3d (Scribe)
on Feb 25, 2002 at 06:23 UTC ( [id://147274]=perlquestion: print w/replies, xml ) Need Help??

z3d has asked for the wisdom of the Perl Monks concerning the following question:

It's late, and tomorrow I may look at this post and hit my forehead with the laptop, but I was wondering if anyone out there might be able to point me to any (c|s)ites for sending mail with Perl without resorting to a system command (i.e., no sendmail, no mail/Mail/mailx). If this works in win32, great, but that's not a deliminating factor. Thanks!

z3d



"I have never written bad code. There are merely unanticipated features."

Replies are listed 'Best First'.
Re: Pure Perl mailing for CGI?
by z3d (Scribe) on Feb 25, 2002 at 06:28 UTC
    So 30 odd seconds later and a few pages into search.cpan, I find Mail::Sender. I still leave this open for comments - can't hurt, right?



    "I have never written bad code. There are merely unanticipated features."
Re: Pure Perl mailing for CGI?
by ask (Pilgrim) on Feb 25, 2002 at 09:58 UTC
    Look for the Net::SMTP module (which is what Mail::Sender uses too). It might give you a bit more control of what's going on, error handling and such.

     - ask

    -- 
    ask bjoern hansen, http://ask.netcetera.dk/   !try; do();
    
      Net::SMTP works just fine on Win32 as well, might I add (since it was a wish). You do need some SMTP server that you are allowed to send via, is all.
      You have moved into a dark place.
      It is pitch black. You are likely to be eaten by a grue.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://147274]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-20 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found