Troubleshooting Unreceived Email Notifications on Chatwoot

TLDR nobyf struggles to receive email notifications from their self-hosted Chatwoot setup despite having set .env values and verifying SMTP settings. They also seek advice on webhook usage. sojan_official is helping to identify the problem.

Photo of nobyf
nobyf
Sat, 02 Sep 2023 19:22:52 UTC

Installation Type: Self hosted Installation Environment: Docker compose on Ubuntu I followed the config guide, but email is not sending when a website visitor sends a new message on the chat. I receive the message in the dashboard, but I don't receive email notification. My .env values are: SMTP_DOMAIN=chatwoot.com SMTP_ADDRESS=smtp.ionos.co.uk SMTP_PORT=465 [email protected] SMTP_PASSWORD=my email password here SMTP_AUTHENTICATION=plain SMTP_ENABLE_STARTTLS_AUTO=true SMTP_OPENSSL_VERIFY_MODE=none I went in to the rails console in my docker container for rails, and tested the email. I got below: INFO -- : Delivered mail [email protected] (5041.7ms) /usr/local/lib/ruby/3.2.0/net/protocol.rb:229:in `rbuf_fill': Net::ReadTimeout with # (Net::ReadTimeout) irb(main):016:0> It says "Delivered mail", but I don't receive any email. I would really appreciate it if you could give me some pointers. I read the doc, and tried a few different config values, but still not working. Thank you

Photo of nobyf
nobyf
Sat, 02 Sep 2023 21:39:50 UTC

ok, I see that I can also use a webhook to trigger my endpoint to send email on my server. But, for this, I am not sure if there is a way to authenticate the call... Can someone tell me because I don't want an attacker calling the endpoint triggering many emails?

Photo of sojan_official
sojan_official
Tue, 05 Sep 2023 22:08:40 UTC

nobyf is the regular notifications like password resets and account confirmations etc working on your end ?

Photo of nobyf
nobyf
Tue, 05 Sep 2023 23:17:40 UTC

I haven't tested them so far as I am just using it as one person - I don't want anyone outisde signing up freely to see the chat history/access admin. I ended up using webhook for now. I also tried to test it with your hosted free version, but email notification did not send.

Photo of sojan_official
sojan_official
Wed, 06 Sep 2023 23:15:33 UTC

nobyf did you enable the email notifications in your profile settings ? reF: https://www.chatwoot.com/docs/user-guide/features/notifications/

Photo of nobyf
nobyf
Thu, 07 Sep 2023 00:52:02 UTC

Yes I tried that.but did not work.

Photo of nobyf
nobyf
Thu, 07 Sep 2023 00:52:39 UTC

sojan_official

Photo of sojan_official
sojan_official
Wed, 13 Sep 2023 01:40:19 UTC

we don't have any other reports on Chatwoot cloud about email notifications so far