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.
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?
nobyf is the regular notifications like password resets and account confirmations etc working on your end ?
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.
nobyf did you enable the email notifications in your profile settings ? reF: https://www.chatwoot.com/docs/user-guide/features/notifications/
Yes I tried that.but did not work.
sojan_official
we don't have any other reports on Chatwoot cloud about email notifications so far
nobyf
Sat, 02 Sep 2023 19:22:52 UTCInstallation 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