Now for example my email address is [email protected] password is 123456

I know its not hard but i havent yet an idea how to check if password(123456) is the right password to [email protected]
Because i always change my passwords to make it difficult to be hacked by someone.

The app should initialize a connection to internet and try if 123456 is the right password to john.doe[live.com for example!

If you have some codelines for me please let me know or otherwise give me some advices how i can handle this with which methods:
Thanks in advance, Begi