Hello,
I'm still learning PHP, and have run into a but of a problem.
I have setup Apache 2.x and PHP 4.x on a Windows 2000 server. I have an application that sends email to users after they have filled out a form.
The problem that I am seeing is that is errors when it tries to send mail, saying it can't because it can't find the email server. I have set my php.ini file to the appropriate email server, which it can connect to manually (telnet server.domain.com 25). However when I check the phpinfo(), it says that the SMTP is set to localhost. phpinfo() also says that it is finding the php.ini file in the correct place,(C:\WINNT\php.ini).
I have installed the same application on a Linux server that is setup with the same revisions of PHP and Apache, and does not have any issues with sending mail. I believe the reason is that the Linux server has sendmail configured, and sending e-mail to "localhost" is an OK thing.
Has anyone else seen an issue like this??
Thanks in advance.
Mike
I'm still learning PHP, and have run into a but of a problem.
I have setup Apache 2.x and PHP 4.x on a Windows 2000 server. I have an application that sends email to users after they have filled out a form.
The problem that I am seeing is that is errors when it tries to send mail, saying it can't because it can't find the email server. I have set my php.ini file to the appropriate email server, which it can connect to manually (telnet server.domain.com 25). However when I check the phpinfo(), it says that the SMTP is set to localhost. phpinfo() also says that it is finding the php.ini file in the correct place,(C:\WINNT\php.ini).
I have installed the same application on a Linux server that is setup with the same revisions of PHP and Apache, and does not have any issues with sending mail. I believe the reason is that the Linux server has sendmail configured, and sending e-mail to "localhost" is an OK thing.
Has anyone else seen an issue like this??
Thanks in advance.
Mike