Skip to content
Permalink
Browse files
use namespace getmailer
  • Loading branch information
810 committed Jun 23, 2020
1 parent 1010923 commit 4fbab17376457242f51dd682d651f0266336564c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2218,7 +2218,7 @@ public function report()
jimport('joomla.environment.uri');
$msglink = Uri::getInstance()->toString(array('scheme', 'host', 'port')) . $target->getPermaUrl(null, false);

$mail = JFactory::getMailer();
$mail = Factory::getMailer();
$mail->setSender(array($this->config->getEmail(), $mailsender));
$mail->setSubject($mailsubject);
$mail->addReplyTo($this->me->email, $this->me->username);

0 comments on commit 4fbab17

Please sign in to comment.