Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Getting output to my email

by Crulx (Monk)
on Mar 10, 2000 at 14:28 UTC ( #5159=note: print w/replies, xml ) Need Help??


in reply to Getting output to my email

A mailing web pagem is comprised of the following
  1. A HTML page that has the email form on it.
  2. A program that does two things
    1. It processes the form submitted by the web page including emailing out the post.
    2. Returning HTML to the browser to display the results of that mailing, this can either be a redirect or straight html.
The perl typically looks something like this
$results = &get_form_variables(); $mail_to = &get_mail_to($results); $email = &make_email_from_form($results); open(MAIL,'|mail $mail_to'); MAIL << EOF; close MAIL; $email; EOF; print "MY HTML HERE"; exit 0;
---

Crulx
crulx@iaxs.net

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2022-09-30 23:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (126 votes). Check out past polls.

    Notices?