-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Unable to send Verification Email #269
Comments
Which endpoint is giving that error? |
if this is what you meant by an endpoint. |
Any solution that can help? @poeti8 |
Seems like your email config is wrong. |
I don't know, you may be right. But, the credentials are working fine in another PHP application. However, I have manually verified now in Postgres, to gain access. Thanks! |
@kmanojkumar How did you fix this issue? |
@denny64 You may have already solved this, but you can connect to the database, go to the users table, find your user, and retrieve the
Replacing SQL to retrieve SELECT verification_token FROM users WHERE email='myuser@mydomain'; |
@denny64 AWS SES SMTP port was the issue. Port 465 worked for me, instead of the default 587. I think it is something to with Nodemailer. |
@hugomd @kmanojkumar I am also getting same issue with setting up locally. It is not able to send verification email |
Looks like it may be trying to send mail via a mail host that doesn't exist. You should be able to try the query in my earlier comment:
Your issue looks related to #418 and #415. If you absolutely need to send mail locally, you could try isolating the problem by connecting to the mail server via a separate client. |
yes @hugomd I tried to verify using the route /verify/auth_token but that is giving invalid verification |
@Rupeshiya my token was giving 'invalid verification' error, but when I checked the database it's been verified (and now the user can login). Perhaps it was because the verification occurred twice? Or, if anyone want to directly verify the user through database, I think you can use: UPDATE users
SET verification_expires=NULL,
verification_token='',
verified=true
WHERE email='myuser@mydomain'; |
Yes the doc in Nodemailer also state this about
Just want to make this super clear for everyone. |
Hi everyone, I've opened PR which will help you to solve this issue. |
It took me around 6 hours to install kutt in a DO 2GB Ubuntu droplet. Finally, I am able to create short URLs now. All the information I fount to install is https://github.com/thedevs-network/kutt#setup
Using the latest version of Redis, PostgreSQL, and NodeJS.
My .env file looks like this.
Actual secret values are changed above.
I have opened port 587 as well.
I am just getting An error occurred. Any idea where and how can I debug this?
I am unable to figure out why the emails are not being sent. These AWS SES credentials are working fine in other applications. I haven't found anywhere where I can check the logs of the same. As the emails are not being sent, I am unable to authenticate as well.
Please guide.
The text was updated successfully, but these errors were encountered: