1 . replaced all
Code: Select all
try
{
}
catch (.......... $e)
{
}Code: Select all
try
{
}
catch (Swift_SwiftException $e)
{
}Code: Select all
Swift_CacheFactory::setClassName('Swift_Cache_Disk');
Swift_Cache_Disk::setSavePath($mytempdir);Code: Select all
Swift_Preferences::getInstance()->setTempDir($mytempdir)->setCacheType('disk');Code: Select all
$this->message->setEncoder(Swift_Encoding::get8BitEncoding());Code: Select all
$message->headers->setLanguage($mylang);5. replaced the code following the very good doc !
6. first test (after some debugging) : first swift exception logged (so exceptions works !)
7. second test (after some debugging) : got the mail in my mail box !!!
hope this report will help !!!
thanks to the swiftmailer team for this wonderfull soft & doc.