I've seen all the posts and I've updated phi.ini already and it still does not work. I also noticed I have similar errors with the initial start-up script. I did a test on my local PC with the same set of programs with no errors and the email works. Our production environment is Windows server 2003 with Wampserver installed.

mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\includes\common.inc on line 1996.

Comments

ainigma32’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Are you sure port 25 is reachable on the server? Have you tried connecting with a local command prompt?

- Arie

ainigma32’s picture

Status: Postponed (maintainer needs more info) » Fixed

Looks like dodswome won't be posting any feedback so I'm setting this to fixed.

Feel free to reopen if you think that is wrong.

- Arie

willow315’s picture

Title: Failed to connect to mailserver at "localhost" port 25 (Drupal version 5) » Failed to connect to mailserver at "localhost" port 25 (Drupal version 6)
Version: 5.8 » 6.2
Assigned: dodswome » willow315
Status: Fixed » Active
Issue tags: +Windows, +IIS6, +connect, +mailserver

I've changed this request a bit. I'm running Windows 2003 on a virtual development server, using an IP address only. No domain name.

I'm running IIS6 and have installed SMTP. I've set up the php.ini a number of different ways at the SMTP spot. Out IT guy has set up a mail account on our Exchange server and sent me the IP address for that. I'm assuming it's still port 25. So for that I had a "from" email to put into Drupal.

For the local SMTP setup I'm at a loss. How do you get a "from" email address to put into Drupal without setting up some kind of email account?

I really need some help here. And I've heard nothing in all the posts I've ready that actually resolve the problem. And if it has been resolved, those who have posted must be so excited that it's working that they refrained from mentioning exactly how they did it.

Help and thanks in advance, WCW wwright@wusf.org. I put my email down because I've posted in so many places and threads, I'll never find them, and maybe some gracious soul will take pitty on my and help me out.

:) thanks again WCW

ainigma32’s picture

Status: Active » Postponed (maintainer needs more info)

Looks like WorldFallz gave an excellent explanation here http://drupal.org/node/261008#comment-1187472

Please post back if that worked for you.

- Arie

ainigma32’s picture

Assigned: willow315 » Unassigned
Status: Postponed (maintainer needs more info) » Fixed

Looks like willow315 won't be posting any feedback so I'm setting this to fixed.

Feel free to reopen if you think that is wrong.

- Arie

Status: Fixed » Closed (fixed)
Issue tags: -Windows, -IIS6, -connect, -mailserver

Automatically closed -- issue fixed for 2 weeks with no activity.