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

pull/242/head
David Goodwin 6 years ago
parent b71aee3504
commit 8196a063a5

@ -1338,6 +1338,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…
Cancel
Save