BigDan531 0 Newbie Poster

okay guys heres the problem.

i have installed iis, and i am trying to send emails through a php script. i have followed all steps listed in http://www.ruhanirabin.com/php-sendmail-setup-with-smtp-iis-and-windows-servers/ .
the page lists a php script

<?php

if(mail('user@mydomain.com','test subject','test message')){

      echo('ok');

    }

else{

      echo('not ok');

    }

?>

When i run the script, it gives me an ok. But when i check my email, no email is received. And the logs in the IIS show that the email is being queued.

Any suggestions to what i am doing wrong?
Thanks
Danny