method sendMail documentation in bbn\User\Manager
function(string $id_user, string $subject, string $text, array $attachments = [])
{
if (($usr = $this->getUser($id_user)) && $usr['email']) {
if (!$this->getMailer()) {
//return mail($usr['email'], $subject, $text);
throw new \Exception(X::_("Impossible to make hotlinks without a proper mailer parameter"));
}
return $this->mailer->send(
[
'to' => $usr['email'],
'subject' => $subject,
'text' => $text,
'attachments' => $attachments
]
);
}
return null;
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions