Even when i specify the from address in php it still makes the from adress liammk@absolut.x10hosting.com
I dont want this. What is wrong with my code:
I dont want this. What is wrong with my code:
PHP:
// The message
$message = " bla, bla, bla, bla, bla";
$headers = 'From: no_reply@XXX.co.cc' . "\r\n" .
'Reply-To: no_reply@XXX.co.cc' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message = wordwrap($message, 70);
// Send
mail($emails, 'XXX', $message, $headers);
Last edited: