problem with connection/smtp.php in version 3

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
wodka
Forum Newbie
Posts: 4
Joined: Wed Feb 25, 2009 7:36 pm

problem with connection/smtp.php in version 3

Post by wodka »

If you get the following error when using version 3:

stderr: PHP Warning: fclose(): 47 is not a valid stream resource in /data/domains/ossejtterapia.hu/web/webroot/lib/Swift/Connection/SMTP.php on line 384


You should try turning off zend.ze1_compatibility_mode either runtime
ini_set('zend.ze1_compatibility_mode', false);
or directly in php.ini
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: problem with connection/smtp.php in version 3

Post by Chris Corbyn »

Another zend.ze1_compatibility_mode issue? Ugh :(
echoDreamz
Forum Newbie
Posts: 9
Joined: Sat Feb 21, 2009 7:54 am

Re: problem with connection/smtp.php in version 3

Post by echoDreamz »

I wanna know what hosting providers these are so I can stay far far far away. What is the point of having PHP5 if you are going to run it in PHP4 compatability mode, why not just run PHP4?
Post Reply