# Sending email configuration failed

**URL:** <https://forum.seatable.com/t/sending-email-configuration-failed/751>\
**Category:** Configuration\
**Tags:** email\
**Created:** [October 7, 2021, 10:45am UTC](https://forum.seatable.com/t/sending-email-configuration-failed/751 "2021-10-07T10:45:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tradoan](https://forum.seatable.com/letter_avatar_proxy/v4/letter/t/f1d935/32.png) [@tradoan](https://forum.seatable.com/u/tradoan)\
**Post date:** [October 7, 2021, 10:45am UTC](https://forum.seatable.com/t/sending-email-configuration-failed/751/1 "2021-10-07T10:45:45Z")

</div>

Hi SeaTable Team,

I am trying to enable email sending flowing [https://manual.seatable.io/config/sending\_email/](https://manual.seatable.io/config/sending_email/).  
When I reset the password of an user, I receive the error `Successfully reset password to [...], but failed to send email to [...].com, please check your email configuration.`.

My email settings in `dtable_web_settings.py`:  
 ![email_data](https://forum.seatable.io/uploads/default/original/2X/8/8b005c74c7d75a95430f6e6c0df20542aa71f280.png)

The logs:

 ![seatable_logs](https://forum.seatable.io/uploads/default/original/2X/3/3be6b3ac6c0175a64763941ee21cfc6ae2fc1a35.png)

Do you have any ideas where I went wrong? I would very much appreciate your help.

---

<div class="post-metadata">

**Author:** ![Karlheinz](https://forum.seatable.com/user_avatar/forum.seatable.com/karlheinz/32/9_2.png) [@Karlheinz](https://forum.seatable.com/u/Karlheinz)\
**Post date:** [October 7, 2021, 11:35am UTC](https://forum.seatable.com/t/sending-email-configuration-failed/751/2 "2021-10-07T11:35:44Z")

</div>

Hi, I don’t see the line `SERVER_EMAIL` in your settings:

![image](https://forum.seatable.io/uploads/default/original/2X/4/4766c4d903c2a78f50eac848d5330fdcd73ab41c.png)

Maybe this is the cause?

---

<div class="post-metadata">

**Author:** ![tradoan](https://forum.seatable.com/letter_avatar_proxy/v4/letter/t/f1d935/32.png) [@tradoan](https://forum.seatable.com/u/tradoan)\
**Post date:** [October 7, 2021, 12:19pm UTC](https://forum.seatable.com/t/sending-email-configuration-failed/751/3 "2021-10-07T12:19:15Z")

</div>

Thank you @Karlheinz for the quick response. I have checked it, I have actually the last line. Sorry that the screenshot didn’t show complete information. ![new_screenshot](https://forum.seatable.io/uploads/default/original/2X/6/6fc5ead8cf98261991d47db681fca9b212b2723d.png)

---

<div class="post-metadata">

**Author:** ![Karlheinz](https://forum.seatable.com/user_avatar/forum.seatable.com/karlheinz/32/9_2.png) [@Karlheinz](https://forum.seatable.com/u/Karlheinz)\
**Post date:** [October 7, 2021, 12:43pm UTC](https://forum.seatable.com/t/sending-email-configuration-failed/751/4 "2021-10-07T12:43:09Z")

</div>

OK! I’m pretty sure the problem lies in Gmail.

So, you are sure, too, that your google mail login doesn’t require a 2-factor-authentication? If yes, then you’ll need a device password instead of your login password.

If that’s not the case - have you enabled “Less secure apps” in your Gmail settings? See the following article:

> **[Troubleshooting GMAIL SMTP authentication errors](https://help.dreamhost.com/hc/en-us/articles/115001719551-Troubleshooting-GMAIL-SMTP-authentication-errors)**
>
> Overview
> 
> Many websites use PHP to send email via SMTP. For example, you could create a custom mail form, or use a WordPress SMTP plugin. 
> 
> Send PHP mail via SMTP
> PHPmailer overview
> Configuring the...

---

<div class="post-metadata">

**Author:** ![tradoan](https://forum.seatable.com/letter_avatar_proxy/v4/letter/t/f1d935/32.png) [@tradoan](https://forum.seatable.com/u/tradoan)\
**Post date:** [October 7, 2021, 2:32pm UTC](https://forum.seatable.com/t/sending-email-configuration-failed/751/5 "2021-10-07T14:32:09Z")

</div>

It works, when I enable “Less secure apps” for my Gmail! Thank you very much for the advice 🙂

Do you think that it would be no problem when we use the business outlook email? My Gmail was just a test.

---

<div class="post-metadata">

**Author:** ![Karlheinz](https://forum.seatable.com/user_avatar/forum.seatable.com/karlheinz/32/9_2.png) [@Karlheinz](https://forum.seatable.com/u/Karlheinz)\
**Post date:** [October 7, 2021, 2:55pm UTC](https://forum.seatable.com/t/sending-email-configuration-failed/751/6 "2021-10-07T14:55:29Z")

</div>

You are welcome, glad to have helped!

And yes, I’m sure it’ll work with your other email accounts too.

---

<div class="post-metadata">

**Author:** ![tradoan](https://forum.seatable.com/letter_avatar_proxy/v4/letter/t/f1d935/32.png) [@tradoan](https://forum.seatable.com/u/tradoan)\
**Post date:** [October 7, 2021, 3:09pm UTC](https://forum.seatable.com/t/sending-email-configuration-failed/751/7 "2021-10-07T15:09:07Z")

</div>

I’m glad to hear that. Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://forum.seatable.com/uploads/default/original/1X/04603423fe81a46c321283663086c475429e8ccb.png) [@system](https://forum.seatable.com/u/system)\
**Post date:** [October 9, 2021, 3:09pm UTC](https://forum.seatable.com/t/sending-email-configuration-failed/751/8 "2021-10-09T15:09:40Z")

</div>

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