-
-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self-host - Cannot send emails #76
Comments
This should be 465. Other settings are correct |
You are right, with port 465 it works! I think that was the only option I didn't try 🙄 |
Yes, I also missed to configure |
We really need a documentation page for how to setup each email provider (qq mail, gmail, foxmial, etc) |
ref #92 |
With the Cusdis hosted service I successfully receive the emails, but I can't figure it out on the self-hosted version.
I cloned the repository and deployed it on my vercel App. I set the environment variables:
SMTP_HOST
set to "smtp.gmail.com"SMTP_USER
set to "my-email@gmail.com"SMTP_PASSWORD
set to an App password by GmailSMTP_SENDER
set to "my-email@gmail.com"SMTP_PORT
set to 587SMTP_SECURE
set to "true"then I redeployed the App.
I tested the server/user/psw with a SMTP tester and it works.
When I post a comment on my site, no email is received. I am also pretty sure that the request did not arrive to Google because the "last use date/time" of the App password did not change.
I also tried with Office365 SMTP and I did not receive any email. I tried port 465 too with no luck.
A doubt:
SMTP_SECURE=true
is related to SSL or TLS?Also, what about the
HOST
env variable? What should be its value? My blog's URL, "my-blog.com"?The text was updated successfully, but these errors were encountered: