Sending mail error in PHP on IIS
I am using a small script of php to send email through my IIS based server. When I try to send mail an error occurrs:
"The specified CGI application exceeded the allowed time for processing. The server has deleted the process."
Although simple php script is working fine, my sample code is given below.
<?php
if(mail('sheer开发者_StackOverflowy_1@hotmail.com','test subject','test message')){
echo('ok');
} else{
echo('not ok');
}
?>
You must configure your home server as this feature is ready pre configured on hosting servers.
Try to change the php.ini and change the smtp paths etc
精彩评论