method setFrom documentation in bbn\Mail

Set the From header together with the replyTo.

function(string $email, string $name = NULL) { if (!PHPMailer::validateAddress($email)) { die("The From eMail address is not valid"); } if (!$name) { $name = $email; } $this->mailer->setFrom($email, $name); $this->mailer->addReplyTo($email, $name); return $this; }

Set the From header together with the replyTo. 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.