About email time

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
vikasphp
Forum Newbie
Posts: 8
Joined: Mon Feb 16, 2009 2:40 am

About email time

Post by vikasphp »

hi...i am using email functionality for mysite but want to use the server time instead of local time for send email time and inbox ...
how can i achieve this ?????

thanks
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: About email time

Post by Chris Corbyn »

This should already happen, but you can do it explicitly with an additional header:

Code: Select all

$headers .= "Date: " . date('r') . "\r\n";
Post Reply