T
Twenty2mo ago
Karl!

Email sending not working

Hi guys! Im trying to enable email sending in my self hosted app. I entered these variable in my env but still not working EMAIL_DRIVER=smtp EMAIL_SMTP_HOST=smtp.gmail.com EMAIL_SMTP_PORT=465 EMAIL_SMTP_USER=my-email EMAIL_SMTP_PASSWORD='my-password' I can confirm that smtp user and password is correct. Am I missing something else? Do I need to run cron job? Please help
4 Replies
Karl!
Karl!OP2mo ago
up Hello?
itsaboutcode
itsaboutcode2mo ago
I am also facing same issue
martmull
martmull2mo ago
Hey! The emails are sent by the worker. So you need to make sure your worker is up and running Also, updated env variables are taken into account only after a worker restart
Prince
Prince4w ago
I deployed using Dokploy, add env variables, but sending doesn't work IS_EMAIL_VERIFICATION_REQUIRED: true EMAIL_DRIVER: ${EMAIL_DRIVER} EMAIL_SMTP_HOST: ${EMAIL_SMTP_HOST} EMAIL_SMTP_PORT: ${EMAIL_SMTP_PORT} EMAIL_SMTP_USER: ${EMAIL_SMTP_USER} EMAIL_SMTP_PASSWORD: ${EMAIL_SMTP_PASSWORD}

Did you find this page helpful?