Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 ( #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(); }
  • Comment on Re: Any Examples on how to send via email a reply to my HTML form:
  • Download Code

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? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-12-10 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?