"Stalmannen" <[EMAIL PROTECTED]> wrote in message
001f01c1b485$ea5dcb30$6900a8c0@web">news:001f01c1b485$ea5dcb30$6900a8c0@web...
Hej!

I have a question. I send mail from a php-script with the mail()-function.
However the smtp server I use has a wrong time set. Can I set the sent-time
through the headers so I take my web-servers time? and how then?
Thankfull for help.

/Kalle

-----------

Add this line to your headers string for the mail function:
    $headers .="Date: ".date("r")."\r\n";

This should do it, provided your SMTP server allows you to set the Date:
header.

--Corey




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to