Hi there,

I am running WIN XP Home, I have drupal installed on my local machine, and I am having problems getting email to reset my password. The following message reports:

* warning: 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:\xampp\htdocs\i_smith\drupal\includes\mail.inc on line 193.
* Unable to send e-mail. Please contact the site administrator if the problem persists.

I have done some searching, but really have no clue as to what to do. I see that I need to verify my SMTP and smtp_port setting in my php.ini...

where is my php.ini?
what is SMTP and the smtp_port?
how do I verify it?

Thanks for your help today!

Comments

rocket777’s picture

you have to have a server that lets you send mail. win xp does not come with a mail server.

E Ismail

Billy Bevan’s picture

I am running Xampp... Is this not server technology?

Billy Bevan’s picture

If Xampp can't help me here... How do I reset my password on my local machine so that I can open my Administration panel?

rocket777’s picture

you are right xampp does come with Mercury Mail. You may want to figure out how to set that up.
I have not used it.

E Ismail

santanusoftdev’s picture

Hi there,

I am running WIN XP Home, I have drupal installed on my local machine, and I am having problems getting email to reset my password. The following message reports:

* warning: 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:\xampp\htdocs\i_smith\drupal\includes\mail.inc on line 193.
* Unable to send e-mail. Please contact the site administrator if the problem persists.

I have done some searching, but really have no clue as to what to do. I see that I need to verify my SMTP and smtp_port setting in my php.ini...

where is my php.ini?
what is SMTP and the smtp_port?
how do I verify it?