Beta4 Posted February 12, 2013 Share Posted February 12, 2013 (edited) 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" Edited February 12, 2013 by Beta4 Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.