Signed-off-by: Stéphane Jacob <sj@m4x.org>
$mailer = new PlMailer();
$mailer->setSubject($this->_mail_subj());
$mailer->setFrom("validation+{$this->type}@{$globals->mail->domain}");
- $mailer->addTo("\"{$this->profile->fullName()}\" <{$this->profileOwner->bestEmail()}>");
+ $mailer->addTo("\"{$this->profile->fullName()}\" <{$this->profileOwner->forlifeEmail()}>");
if (!$this->userIsProfileOwner) {
- $mailer->addCc("\"{$this->user->fullName()}\" <{$this->user->bestEmail()}>");
+ $mailer->addCc("\"{$this->user->fullName()}\" <{$this->user->forlifeEmail()}>");
}
$mailer->addCc("validation+{$this->type}@{$globals->mail->domain}");