ChiefOnboarding icon indicating copy to clipboard operation
ChiefOnboarding copied to clipboard

Emails not sending (SMTP)

Open nBLnzbbBBvSGEd opened this issue 3 years ago • 10 comments

Hey,

I'm trialing out the self-hosted option via Docker, and running into some issues getting SMTP to work. I'm attempting to use Office365 (smtp.office365.com) using all of the environment variables listed on https://docs.chiefonboarding.com/integrations/email/

While using the feature to manually send the preboarding emails (People > New Hires > Settings Cog > Send pre-boarding email), it shows that the 'New hire has been notified.' though nothing comes through.

I have tried a few different options but cannot seem to find anything that works.

Are there any additional log files or settings that may assist?

Thank you

nBLnzbbBBvSGEd avatar May 05 '22 05:05 nBLnzbbBBvSGEd

Hi, it should show an error message in the logs when it fails, unless the SMTP provider didn't return an error.

I know SMTP works, as one of my instances is using it. One caveat that might be an issue. In the docs there is written this:

EMAIL_USE_TLS=True
EMAIL_USE_SSL=True

You actually only need one of them. Could you try both (one at a time - remove the other one)?

GDay avatar May 05 '22 12:05 GDay

I know this is old, but I was having a similar issue. The port I was given from my email provider was wrong and I defaulted to the one present in the ChiefOnboarding docs.

megamaiku avatar Aug 04 '22 09:08 megamaiku