/* Thanks to Thomas Bullinger (rootmail@btoy1.rochester.NY.US) for writing the first sample PHP Script Mail form */; /* Mail results to this address */ $TO = "rasmus@vex.net"; /* This is the mail program we will use - check path on target system */ $MP = "/usr/lib/sendmail -t"; >
This is an example form written using the PHP script language. The form results are formatted and e-mailed to a given address.
";
echo "From: $EMAIL_ADDR "; echo "Subject: Form Results "; echo "Reply-to: $EMAIL_ADDR "; echo "X-Mailer: PHP-1.99 "; echo " $body"> |