# Issues Regarding smtp

**URL:** <https://discuss.openedx.org/t/issues-regarding-smtp/12594>\
**Category:** Site Operations Help\
**Created:** [March 21, 2024, 12:15pm UTC](https://discuss.openedx.org/t/issues-regarding-smtp/12594 "2024-03-21T12:15:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anand\_Patil](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/anand_patil/32/6603_2.png) [@Anand\_Patil](https://discuss.openedx.org/u/Anand_Patil)\
**Post date:** [March 21, 2024, 12:15pm UTC](https://discuss.openedx.org/t/issues-regarding-smtp/12594/1 "2024-03-21T12:15:05Z")

</div>

Hii I hosted Open edx platform locally but not able to get authentication mail for account activation.  
please help me fix following Error.

smtp-1 | 2024-03-21 11:53:40 1rnGy2-00000A-1Q [H=alt3.gmail-smtp-in.l.google.com](http://H=alt3.gmail-smtp-in.l.google.com) [2607:f8b0:4023:c0b::1b] Address not available  
smtp-1 | 2024-03-21 11:53:40 1rnGy2-00000A-1Q [H=alt4.gmail-smtp-in.l.google.com](http://H=alt4.gmail-smtp-in.l.google.com) [2607:f8b0:4023:1004::1b] Address not available  
smtp-1 | 2024-03-21 11:53:40 1rnGy2-00000A-1Q == [patilanand3442@gmail.com](mailto:patilanand3442@gmail.com) R=dnslookup T=remote\_smtp defer (99): Address not available  
smtp-1 | 2024-03-21 11:53:58 1rnGz0-00000D-1F \<= [contact@local.edly.io](mailto:contact@local.edly.io) H=(f0b8c07d7b4a) [172.18.0.9] P=esmtp S=11543 id=171102203791.29.2950214653460219722@f0b8c07d7b4a  
smtp-1 | 2024-03-21 11:54:19 1rnGz0-00000D-1F [H=alt2.gmail-smtp-in.l.google.com](http://H=alt2.gmail-smtp-in.l.google.com) [173.194.65.27] Connection refused

---

<div class="post-metadata">

**Author:** ![joel.edwards](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/joel.edwards/32/3193_2.png) [@joel.edwards](https://discuss.openedx.org/u/joel.edwards)\
**Post date:** [March 22, 2024, 6:55am UTC](https://discuss.openedx.org/t/issues-regarding-smtp/12594/2 "2024-03-22T06:55:44Z")

</div>

Hi Anand  
Have you followed the gmail setup/configuration guide here?  
[https://docs.tutor.edly.io/tutorials/google-smtp.html](https://docs.tutor.edly.io/tutorials/google-smtp.html)

---

<div class="post-metadata">

**Author:** ![Anand\_Patil](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/anand_patil/32/6603_2.png) [@Anand\_Patil](https://discuss.openedx.org/u/Anand_Patil)\
**Post date:** [March 22, 2024, 10:02am UTC](https://discuss.openedx.org/t/issues-regarding-smtp/12594/3 "2024-03-22T10:02:03Z")

</div>

“Less secure App access” has been removed by google can you please tell me the other alternatives.

---

<div class="post-metadata">

**Author:** ![joel.edwards](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/joel.edwards/32/3193_2.png) [@joel.edwards](https://discuss.openedx.org/u/joel.edwards)\
**Post date:** [March 22, 2024, 10:20am UTC](https://discuss.openedx.org/t/issues-regarding-smtp/12594/4 "2024-03-22T10:20:02Z")

</div>

Ah right, I forgot about that change 🙂 sorry I don’t normally use Gmail for sending, it’s usually preferable to control your own mail server since there may be other limitations to contend with on 3rd party/free services like gmail (rate limits, maximum emails/recipients per 24hr period, etc)

to answer your question though:  
You might need to instead switch to using an app-specific password, detailed here: [Sign in with app passwords - Gmail Help](https://support.google.com/mail/answer/185833?hl=en)

It is required that you have **2-Step Verification** enabled before you can generate an app-password.  
The 16-character password is randomly generated by Google during the process and you can use this password instead of your main account password. The app-password is not recoverable after creating it so make a memo of the password before you close the window, otherwise you’ll have to delete and re-create it

---

<div class="post-metadata">

**Author:** ![Anand\_Patil](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/anand_patil/32/6603_2.png) [@Anand\_Patil](https://discuss.openedx.org/u/Anand_Patil)\
**Post date:** [March 22, 2024, 11:04am UTC](https://discuss.openedx.org/t/issues-regarding-smtp/12594/5 "2024-03-22T11:04:00Z")

</div>

yeah it worked Thank you so much for your help.

---

<div class="post-metadata">

**Author:** ![joel.edwards](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/joel.edwards/32/3193_2.png) [@joel.edwards](https://discuss.openedx.org/u/joel.edwards)\
**Post date:** [March 22, 2024, 12:20pm UTC](https://discuss.openedx.org/t/issues-regarding-smtp/12594/6 "2024-03-22T12:20:56Z")

</div>

I’ve opened an issue on GitHub to have the documentation updated to better reflect the current Gmail requirements going forward:

> <https://github.com/overhangio/tutor/issues/1025>
>
> Hi folks
> Just want to suggest an update to the documentation here: 
> https://gi…thub.com/overhangio/tutor/blob/master/docs/tutorials/google-smtp.rst
> 
> specifically related to the "less secure apps" part, this feature is depreciated by Google, users should instead refer to the Application-Specific Passwords feature (https://support.google.com/mail/answer/185833?hl=en) to allow less secure apps to have access to Gmail
> 
> Refer below forum post for details:
> https://discuss.openedx.org/t/issues-regarding-smtp/12594

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e0015f89e879bc75925b71fd11133ab15fe98297.png) [@system](https://discuss.openedx.org/u/system)\
**Post date:** [June 20, 2024, 12:21pm UTC](https://discuss.openedx.org/t/issues-regarding-smtp/12594/7 "2024-06-20T12:21:30Z")

</div>

Closed on June 20, 2024, 12:21pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
