Skip to content Skip to sidebar Skip to footer

Php Form Sending Email, But Not In Correct Way

My contact form on my web page finally send emails, but it doesn't send it in the proper format. Below is the email of what I am getting. I blurred out the email and organization f

Solution 1:

You are missing the subject parameter, read the docs.

Also, '\r\n' is not the same as "\r\n"

$subject= 'some subject';
$success= mail($to, $subject, $body, implode("\r\n", $headers));

Post a Comment for "Php Form Sending Email, But Not In Correct Way"