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:
parent
b1795ab596
commit
87472af5ba
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user