b310 has asked for the wisdom of the Perl Monks concerning the following question:
Member Name: $name Member ID: $memberid Telephone: $phone Email Address: $email Guest Name(s): $guest Event Date: $eventdate Events: $event Payment: $payment Message: $message
sub send_confirmation_email { my %mail = ( From => "pperry1\@comcast.net", # YOU SHOULD CHANGE THI +S! To => $email, Subject => "Event Registration Form Submitted", Message => "" ); my $page; $mail{Message} = <<EOF; Thank you for your inquiry. A tennis staff member will reply to you w +ithin 24 hours. This is the information you submitted. Member Name: $name Member ID: $memberid Telephone: $phone Email Address: $email Guest Name(s): $guest Event Date: $eventdate Events: $event Payment: $payment Message: $message EOF sendmail (%mail) or $page .= p (escapeHTML ("Oops, failure sending mail to $mai +l{To}")); return (defined ($page) ? $page : ""); } #@ SEND_CONFIRMATION_EMAIL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Email Formatting
by ambs (Pilgrim) on Mar 29, 2005 at 19:57 UTC | |
|
Re: Email Formatting
by The Mad Hatter (Priest) on Mar 29, 2005 at 20:45 UTC | |
by b310 (Scribe) on Mar 29, 2005 at 22:04 UTC | |
by dorko (Prior) on Mar 29, 2005 at 22:55 UTC | |
|
Re: Email Formatting
by cazz (Pilgrim) on Mar 29, 2005 at 20:11 UTC | |
|
Re: Email Formatting
by jhourcle (Prior) on Mar 30, 2005 at 03:56 UTC | |
by b310 (Scribe) on Mar 30, 2005 at 13:53 UTC | |
by b310 (Scribe) on Mar 30, 2005 at 14:03 UTC | |
by jhourcle (Prior) on Mar 30, 2005 at 16:32 UTC | |
|
Re: Email Formatting
by gam3 (Curate) on Mar 30, 2005 at 03:47 UTC | |
by herveus (Prior) on Mar 30, 2005 at 12:59 UTC |