> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yaysmtp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yaysmtp/how-to-set-up-smtps/how-to-connect-other-smtp-gmail-g-suite.md).

# How to Connect Gmail/Google Workspace

**SMTP Details for Gmail / G Suite**

**Host:** smtp.gmail.com\
**Encryption:** TLS\
**SMTP Port:** 587 (or 465 using SSL encryption)\
**Authentication:** On\
**Username:** Your Gmail account email address (e.g. <bruce@gmail.com>)\
**Password:** Your Gmail account password

You need to input the above details into the YaySMTP settings area accordingly, then **enable less secure apps in Gmail or G Suite** by logging into your Gmail or G Suite account and then open **"less secure apps"** or [click here](https://www.google.com/settings/security/lesssecureapps) and and switch ON the toggle. Mind you, if 2-Factor Authentication is enabled for your account, you will need to disable it before enabling this toggle.

![](/files/-MRg9DPCFV5LWTfyByCs)

Sometimes you could get notification from Google warning you about **suspicious activity** in your account, you can click **Check activity** and follow the instruction to mark it as **safe.**

![](/files/-MRg9SWgu8iEpy0PDgEV)

Just make sure you click **save** in the YaySMTP settings to save your details and that's al&#x6C;**.**

![](/files/-MRg9b290anG3dBppbGo)

Now you have successfully integrate Gmail SMTP server into your WordPress site!&#x20;

Happy Sending!
