I forgot the password for my main account in drupal. As i am still in learning phase. I dont know anyother method to get it other then using forgot password link.

When tried to recover password using my user id, i got following error.

warning: mail() [function.mail]: SMTP server response: 550 Address '' not known here. in C:\xampp\htdocs\drupal-6.2\includes\mail.inc on line 193

Unable to send e-mail. Please contact the site admin, if the problem persists.

working environment details :

Environment : Virtual PC 2004
OS : Windows XP Sp3

Xampp 2.5 installed

Drupal 6.x installed under Xampp.

Mail server : Mercury/32 V4.5

Database: MySql

Webserver: Apache

Everytime i start drupal i make sure that Apache, MySql and Mercury are running already.

I would really appreciate if you can help me.

Thanks you!!

Comments

lyricnz’s picture

The problem is that the mail-server your Drupal site is connecting to is failing to deliver the email, presumably because you entered an incorrect email address.

You can reset the password manually, if you have access to the database. Something like:

UPDATE users SET pass = MD5('newpassword') WHERE name = 'yourname'

Taniwha Solutions- Drupal Consulting and Implementation. Site design and construction, module development, customization, etc.

hitinder’s picture

Thanks a lot!!
The work around has enabled me to work on Drupal for now. As the command you gave me helped me in changing the password.

But i am still facing that issue if i try to recover my password from Drupal system.

--
Hitinder Bawani

Hitinder Bawani

lionheart8’s picture

To be able to send mail on Xampp, some configuration is needed, otherwise it will not work. Some little Googling or possibly the Xampp forums at www.apachefriends.org (http://www.apachefriends.org/f/search.php) will definitely provide clues on how to achieve that. Although lots of stuff is in German, if you use "mail" as the search term, you will get some results in English

Some of the results are http://www.apachefriends.org/f/viewtopic.php?t=30195&highlight=mail
http://www.apachefriends.org/f/viewtopic.php?t=29868&highlight=mail

I only roughly remember it's not hard to configure.

hitinder’s picture

All i needed to do was setup the mail account in my mercury mail server.

Thanks for your help.

--
Hitinder Bawani

Hitinder Bawani