[thelist] PHP Mail function running on IIS/Plesk

Sales @ Lycosa sales at lycosa.co.uk
Thu Dec 2 09:48:37 CST 2010

I am experiencing a strange problem and I simply can't find an answer

I have an PHP application which creates and sends a multipart email with
text and html versions, and a PDF attachment. It runs beautifully in LAMP,
but I have had to move it over to a Windows environment, and it *almost*

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.

It is the actual mail function which is taking too long, so I am concerned
there is an underlying issue with using PHP mail / IIS / Plesk.

If anyone has any ideas, I would be glad of them.



Phil Parker

More information about the thelist mailing list