Configuring gmail in outlook 2007

Have you ever tried to configure your outlook client mail program for gmail mail server? If yes, then you should be familiar with this damn error prompt: "The connection to the server has failed. Account: 'pop.gmail.com', Server: 'smtp.gmail.com', Protocol: SMTP, Port: 465, Secure(SSL): Yes, Socket Error: 10060, Error Number: 0x800CCC0E"
1 answer

Enabling Post Office Protocol or Internet Message Access Protocol

There is no doubt that gmail website would be the best place for searching the solution.
I summarize how I handled this problem (ofcourse using gmail help) in following steps:

1.Click “Settings” on the top right corner of your gmail account's homepage
2.Select the Tab “Forwarding and POP/IMAP “
3.There exists two different possibilities two choose : "POP"and "IMAP"(I clicked on the “learn more” of IMAP and found out that gmail has recommended it so I enabled IMAP).
4. Configure your outlook easily without being bothered with the Error prompt this time;)