Gmail SMTP server setting


Gmail SMTP setting

This is the basic guide for the gmail SMTP server setting. SMTP is used for sending mails (Outgoing).  The SMTP server for gmail is commonly used for testing and send emails in code. Below setting can be applied to any tools and code.

Server Name : smtp.gmail.com
Protocol: SMTPS
TLS / SSL Enabled: Yes
Port: 587 (TLS Port) / 465 (SSL Port)
Authentication
Username: greenwhitehat@gmail.com (Your Gmail ID)
Password: ***********

ServerDesk Plus Outgoing mail setting


Gmail POP / IMAP setting

POP / IMAP protocols are used for the receiving mail (Incoming). Below are the setting can applied to any tool  and code.

Server Name : pop.gmail.com
Protocol: POPS
TLS / SSL Enabled: Yes
Port: 995 
Authentication
Username: greenwhitehat@gmail.com (Your Gmail ID)
Password: ***********

Server Name : imap.gmail.com
Protocol: IMAPS
TLS / SSL Enabled: Yes
Port: 993 
Authentication
Username: greenwhitehat@gmail.com (Your Gmail ID)
Password: ***********

ServerDesk Incoming mail setting

If you are unable to send or receive the mails by above setting, then check the firewall settings. Allow the above mention ports for incoming and outgoing.




Comments