Click to See Complete Forum and Search --> : mail() on w2ksp2, IIS, PHP 4.0.6


Anon
09-15-2001, 06:13 PM
mail() will not send on my server. instead of using localhost, i have to use an external server and have specified this in IIS general settings for mail and directly in the php.ini file.
i am using mail.the.server.com where localhost is default. can php not do this? i've barely gotten mySQL to function on this box and it blows MSSQL away so i'm really eager to see how far open source can go on a MS box, it's damn discouraging to not even be able to send an email though.

Anon
09-16-2001, 12:40 PM
You can download Hermes(http://www.impchat.com/) which is a Opensource Freeware SMTP/POP3 Server.

Hope this helps.

Regards,
Johan Hanekom

Anon
09-16-2001, 04:43 PM
the site doesn't load and all i find with searches on "Hermes" is watches and support groups. thanks for trying though.
i hope it won't be necessary to install a SMTP server on this machine when another one is setup elsewhere on the network. any other ideas?

Anon
09-16-2001, 05:08 PM
i reviewed settings in IIS for the virtual SMTP server and refined them with no solution yet, still trying though...

Anon
09-16-2001, 05:30 PM
I had the same trouble. Thats why I installed Hermes. The site is down. Hopefully service will be restored some time soon. Alternatively can download Fox Installer(http://sourceforge.net/projects/netkomm/) which is a combo of PHP related apps.

Hope that helps. or just switch to *nix.

regards,
Johan Hanekom

Anon
09-17-2001, 12:15 AM
aight, i experienced the same prob, i'll walk u thru setting up SMTP on IIS to work with PHP.. Listen up..

1. open up SMTP properties in IIS,
2. select the access tab,
3. click on connection (4th button from the top)
4. grant access to all expect the list below, make sure the checkbox to allow all is checked
5. click on ok,
6. click on relay (5th button from the top)
7. grant access to all except the list below,
make sure the checkbox to allow all is checked
8. click on apply, click on ok, and run a mail() test using localhost as your smtp server.
9. this time it should work.. :)

drop me a note and keep in touch, we might be able to help each other out again

Anon
09-18-2001, 12:09 AM
well...i tried the fox installer...as of reboot, i can no longer pc anywhere into the box. it returns pings but it will require a visit and some keyboard smashing on site. oh well, so much for that solution.
btw, the hermes app looked pretty stripped out compared to IIS virtual smtp. it might be better for using pop3.

Anon
09-18-2001, 12:12 AM
hey man, i was looking through the steps when nt smacked me with "I'm shutting down in 59 sec" (see prev resp)
lol
anyway, the first half of my settings were verified as matching yours. the others probably did too but i won't know until tom.

Anon
09-18-2001, 08:36 PM
checked everything and still won't send. it just runs until it times out.
here is what shows up in the app log:

The script started from the URL '/secur_model/contscrpt.php' with parameters '' has not responded within the configured timeout period. The HTTP server is terminating the script.

that's it, i tried a more stripped mailer script but i get the CGI misbehaved error.

Anon
01-16-2002, 09:46 AM
I'm having similar problems - getting the same message.

Have you solved this ?

I have some ideas.

Anon
01-16-2002, 02:27 PM
no solution on that box...
my cable modem provider (charter) uses a DHCP system now (when the service works at all) and that server can no longer be used for experimenting.
i have set up php on other w2k non-server boxes and had perfect results while others do not work. the variable causing this condition is still unknown to me but it is IIS related.
sorry i can't help.

Eric