On Sun, Mar 9, 2008 at 4:38 PM, Alain Roger <raf.news@xxxxxxxxx> wrote: > Hi, > > i know that this is not necessary the best forum for that, but i need to get > a real feedback and i guess you already faced the same issue as mine. > basically, i develop php web application on windows XP platform. > So i have apache 2.24 installed and PHP 5.2.4. > > now i would like to test if my application send emails, so i've checked my > php.ini file and it seems ok. > i tried to use IIS from windows to define a default SMTP server, but as my > emails are not sent, i guess something is wrong with IIS. So which HTTP server are you using? You stated earlier that you have Apache 2.24 on there, but here you say that you're using IIS. If you're using Apache, the IIS web server configuration will have nothing to do with anything. > so does it exist a free SMTP server (similar that linux daemon) but running > on windows XP ? I may be incorrect on this, but I'm pretty sure that Win2K/XP/Vista have Microsoft Exchange bundled in for SMTP. Check in Add/Remove Programs > Windows Components > Internet Information Services (I think, but I'm guessing.... I really don't use Windows that often). Even though it has the same name (IIS), in this case, it's the category for all Internet services. There should be something mentioning SMTP there. > if yes, where can i find it and what steps should i perform to be sure my > emails are sent ? Check the logs for Exchange/SMTP or whatever other MTA you decide to use and see if there's anything mentioned about the problem. It could be an authentication/negotiation issue. Also, check your Windows firewall (or third-party software) to ensure that you can connect to localhost:25. The easiest way to test this is as follows: Start > Run Type: cmd Type: telnet localhost 25 If it connects, type: HELO localhost Note the response. You can then try sending a message through the server manually, if you'd like. While still connected via Telnet as shown above, type the following (replacing things as necessary): MAIL FROM: you@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx RCPT TO: youraddress@xxxxxxxxxx DATA Subject: Testing Email from Telnet This is a test. . Always end with a period on a line of its own. That should show you what, if any, error messages are being kicked out by your SMTP server. -- </Dan> Daniel P. Brown Senior Unix Geek <? while(1) { $me = $mind--; sleep(86400); } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php