summaryrefslogtreecommitdiff
path: root/register.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 /register.php
parent57932e183745bada9c6183056597cb5276f68d10 (diff)
mailer: split to/from name/addresses
Diffstat (limited to 'register.php')
-rw-r--r--register.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/register.php b/register.php
index 98d49319d..8bbce9932 100644
--- a/register.php
+++ b/register.php
@@ -308,7 +308,7 @@
"If that wasn't you, just ignore this message. Thanks.";
$mailer = new Mailer();
- $rc = $mailer->mail(["to" => $email,
+ $rc = $mailer->mail(["to_address" => $email,
"subject" => "Registration information for Tiny Tiny RSS",
"message" => $reg_text]);
@@ -322,7 +322,7 @@
"Email: $email\n";
$mailer = new Mailer();
- $rc = $mailer->mail(["to" => REG_NOTIFY_ADDRESS,
+ $rc = $mailer->mail(["to_address" => REG_NOTIFY_ADDRESS,
"subject" => "Registration notice for Tiny Tiny RSS",
"message" => $reg_text]);