New to PHP and Swiftmailer and have yet to get it working. I\'ve uploaded the /lib/ directory to a directory in the root of my shared webserver from Hostgator. I\'ve uploade
Use transport exception handling like so:
try { $mailer->send($message); } catch (\Swift_TransportException $e) { echo $e->getMessage(); }