I have a question about the Headers part of a form that I have created in PHP: What mail goes in the headers?
PHP code:
$headers = 'From: '.$email_from."\r\n".
'Reply-To: '.$email_from."\r\n" .
'X-Mailer: PHP/' . phpversion();
And within my mail, the correct way to put the mail, what is it?
Is:
$resultado= @mail($to,$email_subject,$email_body,$headers);
Or this one:
$resultado= mail($to,$email_subject,$email_body,$headers);
Is it so that you receive information by mail or to manage it locally?