Menu
For some strange reason, the mail function won’t pick up the headers I give it. Here’s the code.
[code=php]$headers = “From: $email”;
$emailContent = “Name: $namenn Comments:n$comments”;
$emailResult = mail(“[email protected]”, $subject, $emailContent, $headers);
All the variables do exist. Besides the From header, I’ve also tried Reply-To. No difference. Are there any server or PHP version limitations I’m not aware of? This server is running PHP 4.4.1