Migration report (3.3 to 4.0.3)
Posted: Fri Jun 19, 2009 7:32 am
Just to report about the migration i started this morning
1 . replaced all
by
2. changed
by
3. added this for potential perf issues
4. tried to find the instruction replacing
but couldn't find it
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.
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.