Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Sending mails

by Anonymous Monk
on Feb 09, 2004 at 10:36 UTC ( [id://327589]=perlquestion: print w/replies, xml ) Need Help??

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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Sending mails
by matthewb (Curate) on Feb 09, 2004 at 10:55 UTC
Re: Sending mails
by zentara (Archbishop) on Feb 09, 2004 at 19:01 UTC
    This question was asked "verbatim" on the perl.beginners list, and I gave him/her a rudimentary script. I guess the poster is looking for a "free script writing" service.

    These kind of simple CGI scripts are so common that you could find 10 or 20 good examples if you searched groups.google.com for "perl cgi mail".

    You could also look in the Snippets section here on Perlmonks, and look thru Grinders snippet index at snippet index. Then look for things under mail....like "Generic Mail Form Processor" for a start.

Re: Sending mails
by Anomynous Monk (Scribe) on Feb 09, 2004 at 10:43 UTC
    What have you tried so far?
Re: Sending mails
by hawson (Monk) on Feb 09, 2004 at 23:30 UTC
    I have used Mail::Sendmail to good effect in a few scripts. It takes a hash with all of the various parts, and then does the rest. Example:
    use Mail::Sendmail; my %mail = ( Subject => "test email subject", From => "mailchecker@localhost.localdomain", To => "myself@domain.com", body => "This message is a test. Whee!" ); sendmail %mail;
    I also use HTML::Template for the emails that get sent since that generate cleaner code (for me, at least).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-16 15:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found