[TYPO3-english] Swift mailer and open basedir restrictions

Stefan Isak stefanisak at googlemail.com
Thu Jun 2 15:12:53 CEST 2011


Hi,

since I have a setup with php open_basedir restrictions, I encounter issues using swift mailer.
It seems that php function sys_get_temp_dir used in typo3/contrib/swiftmailer/preferences.php is not aware of open_basedir restrictions. It returns the systems temp dir instead of configured temp dir and therefore leads to an open_basedir restriction in effect. Am I missing a php ini config? Has someone encountered something similar? 

If someone has a clue about that, I'd like to get this by without patching the swiftmailer package. 
Otherwise, I'll provide a patch with another approach reading tmp dir settings.

Thanks.
Stefan


More information about the TYPO3-english mailing list