Hi All....I was wondering if someone could help me out with how to include special characters in a mail() header - like the following
$from = "Company, LLC"; //this comma for example will be a problem
$fromemail = "someone@somewhere.com";
$subject = "Test";
$message = "Testing...";
$to = "someoneelse@somewhere.com";
mail($to,$subject,$message,"From:$from<$fromemail>");
So in the above example, what could i do to the "$from" variable to ensure that the comma wouldn't break the header?
Thanks in advance 🙂