chiefonboarding / ChiefOnboarding

Free and open-source employee onboarding platform. Onboard new hires through Slack or the web portal.
https://chiefonboarding.com
GNU Affero General Public License v3.0
661 stars 122 forks source link

Notification - Couldn't deliver email message: provider error #331

Open Dan6erbond opened 1 year ago

Dan6erbond commented 1 year ago

I see this error message in the UI, but nothing on Sentry/logs that would help me understand why the email wasn't sent.

This is what I see in the notifications area:

Couldn't deliver email message: provider error: Here is an update! For RaviAnand Mohabir - By ChiefOnboarding

Couldn't deliver email message: provider error: Welcome to ! For - By ChiefOnboarding

GDay commented 1 year ago

Could you try this:

Open Django shell by going into the docker container (I am using chiefonboarding_web as the docker name here, change it with whatever you have):

docker exec -it chiefonboarding_web python manage.py shell

Sending email manually (change email address to where you want this test email to go):

from django.conf import settings
from django.core.mail import send_mail

send_mail("Test subject", "Test message", settings.DEFAULT_FROM_EMAIL, ["hello@chiefonboarding.com"])

That should give you a clearer error to see what is going on.