]> git.wh0rd.org - tt-rss.git/blobdiff - register.php
mailer: split to/from name/addresses
[tt-rss.git] / register.php
index 98d49319d112e8b441aef1097f80909b189a05c4..8bbce99328b31186e01c1a416712db8501c3dc89 100644 (file)
                                                "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]);
 
                                                "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]);