We have a Windows 2008 Server running PHP 5.2.11 on IIS 7.5
When any script on the server calls a
mail() function it presents no errors and sends the email nearly instantly. However, the server will "hang" for about 60 to 90 seconds until it starts sending information back to the browser. This delay seems to be longer if
mail() has not been called in the preceding 2 minutes.
I viewed this issue in the Chrome developer tools "network" tab and it just says "waiting" for that entire period. Once that delay is over, all of the information is sent correctly to the browser and the page renders normally.
Potentially relevant portions of the
Internal Sendmail Support for Windows - enabled sendmail_from - no value sendmail_path - no value SMTP - mail.samedomain.com smtp_port - 25 mail.force_extra_parameters - no value