There is no way to recover the lost password from Windows Mail.
So, you have at least two issues:
(a) recalling the correct username and password, and
(b) fixing the problem that caused the existing password to become corrupt.
I already gave you the solution for (a).
For (b):
First, test your password by logging in to your provider's webmail.
If that works, it proves you have the correct username and password.
A likely reason for the username/password failing is account corruption.
One thing you should try as a possible quick fix is to delete that corrupted
mail account, restart Windows Mail, then recreate that account.
If that doesn't fix it, more drastic measures will have to be taken.
Which antivirus are you running?
As a minimum, email scanning in the antivirus must be turned off,
although that may not be sufficient to eliminate all bad effects.
In a worst case scenario, your antivirus may need to be uninstalled.
If turning off the email scanning function does not resolve your problem,
consider upgrading to Windows Live Mail, because it is less prone to
suffering bad effects from overly aggressive antivirus programs.
http://download.live.com/wlmail
Email scanning in any antivirus must be disabled, for reasons
explained here:
http://thundercloud.net/infoave/tutorials/email-scanning/index.htm