0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

add Date header into smtp_from(...) function - see #203

This commit is contained in:
David Goodwin 2018-09-21 21:56:35 +01:00
parent b1795ab596
commit 87472af5ba

View File

@ -1375,6 +1375,7 @@ function smtp_mail($to, $from, $data, $body = "") {
. "From: " . $from . "\n"
. "Subject: " . encode_header($data) . "\n"
. "MIME-Version: 1.0\n"
. "Date: " . date('r') . "\n"
. "Content-Type: text/plain; charset=utf-8\n"
. "Content-Transfer-Encoding: 8bit\n"
. "\n"