Jump to content

Mail date wrong


ben14

Recommended Posts

Does it when ever i use the mail function.

I have a mail class that i use (and that is not causing the problem because ive tested it on another server and works perfect) and i have also tried:

[code]<?php
$to      = '[email protected]';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: [email protected]' . "\r\n" .
   'Reply-To: [email protected]' . "\r\n" .
   'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
?> [/code]

from the php site, and messed around with it and still doesn't work. I have a felling its got something to do with a setting in php.ini or in apache.
Link to comment
https://forums.phpfreaks.com/topic/4494-mail-date-wrong/#findComment-15673
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.