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
Under your swift mailer extension there is an exception handler.
root/lib/classes/Swift/SwiftException.php
By default it does some convoluted things with errors to make it really hard to find them. Most of the pages out there also recommend equally convoluted ways of logging the errors.
If you just want to see the error, add an echo, like below (or whatever else you might want to do with it).
class Swift_SwiftException extends Exception
{
/**
* Create a new SwiftException with $message.
*
* @param string $message
*/
public function __construct($message)
{
echo $message;
parent::__construct($message);
}
}