[thelist] PHP Mail function running on IIS/Plesk

Mohan Arun 437341 at gmail.com
Thu Dec 2 23:38:26 CST 2010


>>I am using the mail function, which I know has issues in IIS. But if I keep
>>the size of the PDF attachment to around 40K or so, it works perfectly.

>>If it goes over that, it returns a 500 error, specifically a PHP timeout. I
>>have tried to increase the timeout, but a) it didn't work and b) I am
>>suspicious that the script is taking too long.


Use set_time_limit(0); as the first statement in the script?

Mohan Arun


More information about the thelist mailing list