Hi, can you use the same header variable $header to call on several facets of a header? For example below are several header strings. Will one $header variable in the mail( function use them all? I tried it but couldn't tell. Some of the fields are hidden. Thanks a lot.
$eol="\r\n";
$header .= 'From: MyName<'.$fromaddress.'>'.$eol;
$header .= 'Reply-To: MyName<'.$fromaddress.'>'.$eol;
$header .= "X-Mailer: PHP v".phpversion().$eol;
mail($emailaddress, $emailsubject, $msg, $header);