Computing.Net > Forums > Windows Server 2003 > SMTP mail with PHP on W2K3 server

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

SMTP mail with PHP on W2K3 server

Reply to Message Icon

Name: tbailey
Date: March 22, 2006 at 19:32:19 Pacific
OS: Win2003
CPU/Ram: Server class
Product: Server class
Comment:

I'm running a webserver: Win2003 w-IIS 6
We have a separate Windows box for email. An SMTP server.

I'd like to use the PHP mail() function to send email messages from webpages (as in submitting forms), but this PHP mail function does nothing. I cannot get the webserver to send mail. The PHP mail functions are coded properly.

Originally I had php.ini pointing to my smtp server (other box), and when this did not work, I set up in IIS an SMTP virtual server on my webserver, and then had this point to my real smtp server. I changed php.ini to point then to localhost for smtp. Still no luck.

Am I missing something?

I have PHP installed. For mail it points to localhost. Localhost sends it to SMTP virtual on local machine, which sends it to real SMTP server on other box, which delivers it to mailbox. What am I missing??

Thanks soo much.




Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: SMTP mail with PHP on W2K3 server

Win 2003 SBS SMTP Mail Feed HELP! www.computing.net/answers/windows-2003/win-2003-sbs-smtp-mail-feed-help/2629.html

Access shared folder on w2k3 server www.computing.net/answers/windows-2003/access-shared-folder-on-w2k3-server/6172.html

Lost internet on W2k3 Server ! www.computing.net/answers/windows-2003/lost-internet-on-w2k3-server-/9041.html