summaryrefslogtreecommitdiff
path: root/classes/digest.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-11-22 16:36:10 +0300
committerAndrew Dolgov <[email protected]>2018-11-22 16:36:10 +0300
commit55bf4bc1d3e10b35f54c42b10207484fcb3d10fd (patch)
tree456bc30d08dad286594acc2c39fea2b9f0866725 /classes/digest.php
parent57932e183745bada9c6183056597cb5276f68d10 (diff)
mailer: split to/from name/addresses
Diffstat (limited to 'classes/digest.php')
-rw-r--r--classes/digest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/digest.php b/classes/digest.php
index 641fbe97f..ba1f22425 100644
--- a/classes/digest.php
+++ b/classes/digest.php
@@ -58,7 +58,8 @@ class Digest
//$rc = $mail->quickMail($line["email"], $line["login"], DIGEST_SUBJECT, $digest, $digest_text);
- $rc = $mailer->mail(["to" => $line["login"] . " <" . $line["email"] . ">",
+ $rc = $mailer->mail(["to_name" => $line["login"],
+ "to_address" => $line["email"],
"subject" => DIGEST_SUBJECT,
"message" => $digest_text,
"message_html" => $digest]);