My shared hosting does not allow me to use the root \tmp directory.
I know that the location of the temp directory can be updated using the Swift_Preferences class, however, how do I do that for a SwiftMailer instance autoloaded by Symfony2?
Is there a way to set it in my config.yml?
I think the code should be:
\Swift_Preferences::getInstance()->setTempDir($newTempDir);
But how/where can I set this config?