Can anyone help me with the mail function? The mail is sending with the code below:
// Set up Email Parameters
$from = "Condolence Submission";
$subject = "Condolence";
// To send HTML mail, set the Content-type header. */
$headers = 'MIME-Version: 1.0' . "\r\n" .
'Content-type: text/html; charset=iso-8859-1' . \r\n" .
'To: Tara <tmv105@gmail.com>' . "\r\n" .
'From: $from' . "\r\n" .
'Cc: greatfultobe@yahoo.com' . "\r\n" .
'Bcc: talong@netscape.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
// Send Email
mail($to,$subject,$message,$headers);
...but the "From" in the email is showing as "$from" and not the value I have assigned the variable. I tried do this for the "From"
'From: Condolence Submission' . "\r\n" .
and I get (unknown sender) in the "From" of my email.