Finally, in order for the program to connect to Gmail, the username and password for the Gmail account must be either entered manually by the user each time Google's email servers are accessed, or entered into the email software configuration. In the latter case, the email program will automatically provide the username and password whenever it is required without additional input from the user.
The username setting to be used for Google mail access is the full email address of the account, including the Gmail.com part. In other words, if your email address is superman@gmail.com, then you need to configure your email client to use superman@gmail.com as the username. Just using superman will NOT be sufficient and will cause the login process to fail. (Note: For users using their own domain name, that domain name, and not gmail.com is the correct email configuration.)
The email password is the same as the password entered by the user when accessing Gmail online via the traditional web form.
Now, the client will be configured to use Gmail POP3 access.