Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Any Examples on how to send via email a reply to my HTML form:

by kwoff (Friar)
on Dec 12, 2001 at 23:32 UTC ( [id://131359]=note: print w/replies, xml ) Need Help??


in reply to Any Examples on how to send via email a reply to my HTML form:

First of all, use CGI.pm (or Apache::Request) rather than parsing form data yourself.

Anyway, have separate names for the different operations (one operation is "send email", the other is "don't send email"). Maybe they are the names for submit buttons. Then, you check which name is present in the form data.

if ($form_name eq 'send email') { show_send_email_page(); } else { show_no_email_page(); }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-03-28 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found