Commit fa4311fa authored by Committed by mattl
Add "Date" header to mail, some clients require this to show corrent message receiving time.
Showing with 1 addition and 0 deletions
We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.
|...||...||@@ -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;|
git.gnu.io is graciously hosted by the Free Software Foundation. https://donate.fsf.org