in reply to send form results by email
sub print_details{ print "\nWe have recieved your order for a $pizza_size pizza with "; &pizza_toppings; }
Any suggestions...# send e-mail my $sendmail; $sendmail="/usr/sbin/sendmail -t"; open(SENDMAIL , "| $sendmail") ||die("unable to open"); print SENDMAIL "From: $txt_email\n"; print SENDMAIL "To: abc123@hotmail.com\n"; print SENDMAIL "Reply-To: abc123@hotmail.com \n"; print SENDMAIL "Subject: YOUR PIZZA ORDER\n" ; print SENDMAIL &print_details; close (SENDMAIL);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: send form results by email
by jasonk (Parson) on Mar 12, 2003 at 16:40 UTC | |
by Anonymous Monk on Mar 12, 2003 at 16:46 UTC | |
|
Re: send form results by email
by Tomte (Priest) on Mar 12, 2003 at 16:52 UTC |