Commit fa4311fa authored by Committed by mmn
Add "Date" header to mail, some clients require this to show corrent message receiving time.
Showing with 1 addition and 0 deletions
git.gnu.io has moved to IP address 22.214.171.124 -- please double check where you are logging in.
|...||...||@@ -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