Could not instantiate mail function : Joomla email problem

A reader contact me, asking a guide about recover forgotten password on his newly installed Joomla CMS.

I agree to help him. As usual I try to reproduce it in step by step.

Forgot Your Password

Common procedure for user who forgot their password is as follow :

Click link “Forgot your password

forgot_joomla_password_1

User will see a form where he/she must supply email address in input box.

Click Submit to proceed.

forgot_joomla_password_2

This problem came when no email server installed.

Could not instantiate mail function.

Quick Solution : Install Email Server

Make sure you check if all services running, simplest way to do that via command prompt.

Click Start -> Run

Type cmd and hit Enter key.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>netstat -an

Active Connections

Proto  Local Address          Foreign Address        State
TCP    0.0.0.0:21             0.0.0.0:0              LISTENING
TCP    0.0.0.0:25 0.0.0.0:0              LISTENING
TCP    0.0.0.0:80             0.0.0.0:0              LISTENING
TCP    0.0.0.0:110 0.0.0.0:0              LISTENING
TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
TCP    0.0.0.0:143 0.0.0.0:0              LISTENING
TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
TCP    0.0.0.0:912            0.0.0.0:0              LISTENING
TCP    0.0.0.0:2869           0.0.0.0:0              LISTENING
TCP    0.0.0.0:3306           0.0.0.0:0              LISTENING
TCP    0.0.0.0:8081 0.0.0.0:0              LISTENING
TCP    0.0.0.0:9000 0.0.0.0:0              LISTENING

C:\Documents and Settings\Administrator>

It seem all services working well, time to retry to recover password.

This time it works!

Confirm your account.

An e-mail has been sent to your e-mail address. The e-mail contains a verification token, please paste the token in the field below to prove that you are the owner of this account.

Open email account and see this email.

Hello,

a request has been made to reset your Joomla Batikweb dot Com account password. To reset your password, you will need to submit this token in order to verify that the request was legitimate.

The token is 29b9b88846d8dc42d2f3f0058fddb38e .

Click on the URL below to enter the token and proceed with resetting your password.

http://joomla.batikweb.com/index.php?option=com_user&view=reset&layout=confirm

Thank you.

forgot_joomla_password_3

Enter provided token and voila!

forgot_joomla_password_4

Success message displayed.

Your password has been reset.

Try login to administrator page using password above to see this page.

forgot_joomla_password_5

See you in next post.

Stay health!