diff --git a/lib/mail.php b/lib/mail.php index 507b9254d3..9c3342a8cc 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -148,6 +148,7 @@ function mail_to_user(&$user, $subject, $body, $headers=array(), $address=null) $recipients = $address; $profile = $user->getProfile(); + $headers['Date'] = date("r", time()); $headers['From'] = mail_notify_from(); $headers['To'] = $profile->getBestName() . ' <' . $address . '>'; $headers['Subject'] = $subject;