XF 2.0 Email not sending

Paul Sw

Member
I have just setup a new site.

I cannot seem to get the email to work. If i send an email via the contact us it works. But from test email in admin panel and user activation does not send. See below error I am receiving.

  • Swift_TransportException: Email to xxxxxx@xxxxx.co.uk failed: Unable to send mail.
  • src\XF\Mail\Mailer.php:292
  • Generated by: paultest
  • Mar 31, 2018 at 4:43 PM
Stack trace
#0 src\XF\Mail\Mail.php(335): XF\Mail\Mailer->send(Object(Swift_Message), NULL)
#1 src\XF\Service\User\AbstractConfirmationService.php(85): XF\Mail\Mail->send()
#2 src\XF\Service\User\AbstractConfirmationService.php(63): XF\Service\User\AbstractConfirmationService->sendConfirmationEmail()
#3 src\XF\ControllerPlugin\EmailConfirmation.php(43): XF\Service\User\AbstractConfirmationService->triggerConfirmation()
#4 src\XF\Pub\Controller\AccountConfirmation.php(46): XF\ControllerPlugin\EmailConfirmation->actionResend(Object(XFRM\XF\Entity\User), '/forum/index.ph...', Array)
#5 src\XF\Mvc\Dispatcher.php(249): XF\Pub\Controller\AccountConfirmation->actionResend(Object(XF\Mvc\ParameterBag))
#6 src\XF\Mvc\Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('XF:AccountConfi...', 'resend', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\AccountConfirmation), NULL)
#7 src\XF\Mvc\Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src\XF\App.php(1891): XF\Mvc\Dispatcher->run()
#9 src\XF.php(328): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}
 
Top Bottom