# Sending emails through smtp.gmail.com

**URL:** https://discuss.ihp.digitallyinduced.com/t/sending-emails-through-smtp-gmail-com/49
**Category:** General
**Created:** [April 26, 2024, 6:52pm UTC](https://discuss.ihp.digitallyinduced.com/t/sending-emails-through-smtp-gmail-com/49 "2024-04-26T18:52:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mokshasoft](https://discuss.ihp.digitallyinduced.com/user_avatar/discuss.ihp.digitallyinduced.com/mokshasoft/32/18_2.png) [@mokshasoft](https://discuss.ihp.digitallyinduced.com/u/mokshasoft)
#### Post date: [April 26, 2024, 6:52pm UTC](https://discuss.ihp.digitallyinduced.com/t/sending-emails-through-smtp-gmail-com/49/1 "2024-04-26T18:52:50Z")

</div>

I just wanted to post an answer to a question I had a few months ago about using smtp.gmail.com. I couldn’t get it to work and the reasons were that it required STARTTLS (not TLS that I tried), and username and app password (not username and password that I used). In case it helps anyone. I also had a difficulty navigating the google docs to find if I could and how to generate an app password, so here’s the link, [Sign in with app passwords - Google Account Help](https://support.google.com/accounts/answer/185833)
