Beta4 Posted February 12, 2013 Share Posted February 12, 2013 Ok so I have IIS 7.5 and PHP installed on windows 7 - and I need to know how I need to config my php.ini to send and recieve email or iis 7.5 ( if that is the case) .... I got a snippet that shows that it works although is returns "not ok" which means its not working... here is the code. <?php if(mail('','test subject','test message')){ echo('ok'); } else{ echo('not ok'); } ?> Can anyone help me so I can get it to say "Ok" Link to comment https://forums.phpfreaks.com/topic/274368-help-with-confirguring-iis-to-allow-php-to-send-and-recieve-email/ Share on other sites More sharing options...
trq Posted February 12, 2013 Share Posted February 12, 2013 You need to install and configure a mail server. I believe IIS comes with a very simple one, no idea how to install it though. Link to comment https://forums.phpfreaks.com/topic/274368-help-with-confirguring-iis-to-allow-php-to-send-and-recieve-email/#findComment-1411907 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.