[eluser]mddd[/eluser]
The date is created when the Email class initializes, using the _set_date method in that class.
There, the date is constructed by CI. I don't know why date('r') is not used there. You could try changing that method from
Code:
function _set_date()
{
$timezone = date("Z");
$operator = (strncmp($timezone, '-', 1) == 0) ? '-' : '+';
$timezone = abs($timezone);
$timezone = floor($timezone/3600) * 100 + ($timezone % 3600 ) / 60;
return sprintf("%s %sd", date("D, j M Y H:i:s"), $operator, $timezone);
}
to
Code:
function _set_date()
{
return date('r');
}