PHP to send email listing from field in email
Posted on 2002-03-23
I have a small php file that will send email from Flash. I can get the name, address, city, etc to work but it fails to show in the 'from' feild of the email client when email arrives (in fact the email show 'nobody' in the from field).
Here is a copy:
<TITLE>Welcome to to my site</TITLE>
$TextVariable = '&results=';
$response = 'Data Sent. Thank You...';
$return = "From: $name\r\n Reply-To: $email\r\n";
mail ("firstname.lastname@example.org", "On Line Service Form Response", "
Good day -
You have a new entry:
Name: $name E-mail: $email
Home phone: $home
Work phone: $work
Sent From : $REMOTE_ADDR"