GMail SMTP in .env?
Hello
I am adding these details to .env
Google Mail Setting
EMAIL_FROM_ADDRESS=do-not-reply@gmail.com
EMAIL_FROM_NAME=<From Name>
EMAIL_DRIVER=smtp
EMAIL_SMTP_HOST=smtp.gmail.com
EMAIL_SMTP_PORT=465
EMAIL_SMTP_USER=do-not-reply@gmail.com
EMAIL_SMTP_PASSWORD=<actual password>
but the invitation/notification emails are not working despite the account details being corect. Can you please advise what I ma doing wrong?
Thank you once again in advance
- Parvessh
1 Reply
hello Parvesh -- could you confirm if you are adding them in both (server and workers) .env? and if the worker is running! --> if you dont want to edit the .env -- you can just go to Settings > Admin Panel > config your envs -- this will be synced between worker and server -- so need to modify both the .envs