Hello,
I have the following configuration:
Windows Server 2003
IIS 6
PHP 5
MySQL (current version just installed)
Postcast Free Server 2.6
Everything seems to work fine. I can assign variables, access the database, etc. However I can not seem to send any email of any type. I modified the PHP.ini file to include:
extension=php_smtp.dll (not sure what this is for, but it's there)
SMTP = localhost
smtp_port = 25
I have tested sending an email with the postcast server and it works fine.
Here is the code:
mail("myemail@mydomain.com", "Subject Hello", "hello", "info@mydomain.com");
I am trying something simple first to verify it is working then I will try and get it to work with some html. I looked through phpinfo and saw the SMTP = localhost and the smtp_port = 25. I did not see any heading for SMTP but I am not sure if I am supposed to. Any ideas? Are there any log files I can look at that may hint at something? I get nothing back as a reply so I can't tell if something failed or not.
Thanks,
MostC
I have the following configuration:
Windows Server 2003
IIS 6
PHP 5
MySQL (current version just installed)
Postcast Free Server 2.6
Everything seems to work fine. I can assign variables, access the database, etc. However I can not seem to send any email of any type. I modified the PHP.ini file to include:
extension=php_smtp.dll (not sure what this is for, but it's there)
SMTP = localhost
smtp_port = 25
I have tested sending an email with the postcast server and it works fine.
Here is the code:
mail("myemail@mydomain.com", "Subject Hello", "hello", "info@mydomain.com");
I am trying something simple first to verify it is working then I will try and get it to work with some html. I looked through phpinfo and saw the SMTP = localhost and the smtp_port = 25. I did not see any heading for SMTP but I am not sure if I am supposed to. Any ideas? Are there any log files I can look at that may hint at something? I get nothing back as a reply so I can't tell if something failed or not.
Thanks,
MostC