Better and elegant steps to solve the Issue 100% whether Outlook 2007 or 2010 :
Step 1: Go to Control Panel and click on Mail .In windows XP you will have mail Icon, In Windows 7 or Vista or Windows 8 search as Mail in search bar at right Top.
Step 2: Now Click on Show Profiles below Profiles
Now Mail Window Opens and it will have an old profile in there
Step 4: Now click on Add and type a new Profile Name and click OK
Step 6: Now Tick on manually configure server settings or additional server types
Step 7: Click on Next
Step 8: Now tick on Internet E-mail and click Next
Step 9: Fill the User, Server and Logon Information and remember you should make a tick on New Outlook Data File
Step 10: After Filling the information click on More Settings
Step 10: Now change the pop3 and smtp port numbers according to the mail server like Yahoo, or Gmail or any other address.
Step 10: Now click Test Account Settings, After its success , click Next and click Finish.
Now Open the Outlook it Works 100% Fine.