-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Password reset emails not working #5878
Comments
Password reset is broken for certain providers for us as well. It works with gmail but not hotmail. |
Can you give more info? Are the users form a specific domain? |
Yes, the accounts are from the same domain, as is the main admin account. This domain is defined in the accepted domains setting.
|
@RocketChat/core ideas? |
Mine is broken as well. I got this error:
SMTP test is working but reset password shows above error. Edit
|
Password reset works here with 0.52 and our own SMTP server.
|
Can you detail if you set up MAIL_URL or Admin settings for SMTP or both? |
I've since rebuilt the system from scratch using a conventional build rather than docker and it seems to be OK now. |
Thank you for all your responses.
i have tried couple times but i still don't get any email even i got above message |
@engelgabriel Mine isn't working now (it used to work long time ago. just received a report from user). Snap Rocket.Chat Version: 0.53.0 Log Forgot password: Custom is False |
Ok i finally found the problem.
So... after i changed my email to another email EXCEPT GMAIL, i finally see all response messages from my rocket chat!!! |
@cescgie You're saying that RocketChat password reset email module might not support sending email from Gmail? Because I can send test email from SMTP setting page. |
It appears this is just a matter of an email header missing. Do you have a valid from address set @cescgie? |
@geekgonecrazy Hi, thanks for the reply. Can you also check my from address below. The test email works fine with the configuration but not the forget password email. Thanks |
Does the verification email send? When you sign up for a new account? You'll have to have verify emails turned on I believe |
@geekgonecrazy The Email Verification doesn't send to new user. Only welcome email with password was sent to user and the user can't login with the password (maybe it's because the Email Verification step doesn't work) Please suggest. |
@RocketChat/core it appears that the emails that are sent via the accounts package are missing the from header we set in settings. Ideas? I'm guessing the others work because we don't send via the account package. |
@teamsoo Can you try restarting your server after changing your emails details and try sending a forgot password email |
@teamsoo actually i only set my smtp via docker-compose.yml. |
@pierreozoux I have both docker and snap version of rocket chat installed on 2 different machines. I tried restarting both and the forgot password still doesn't work on both instances. The following error message keeps showing Is it works on your system? Are you using Gmail? |
Agreed if we get that merged and use the single method for all email sending I think the issue described here will go away |
@pierreozoux @geekgonecrazy @cescgie I changed From Email to just info@company.com and the reset password email works again. Thank you so much. |
I was following this guide in https://rocket.chat/docs/administrator-guides/notifications/email If those kind of from is not supported, maybe someone should update the document? |
This doesn't seem to have been fixed in the most recent release (version 0.55.1). I tried all the suggestions here including the info@company ... SMTP test works just fine - but forgot password doesn't - gives me the syntax error message. Any help or pointers on how to resolve? |
My docker deployment is also 0.55.1 |
@arungcs same here |
this issue was closed via #6940 in 0.56.0 FOR ME Go to Administation->E-Mail->SMTP->Protocol (smtps) |
I have 0.56.0 using Amazon SES. Test email works but password reset gives me a slightly different error (no detail error message given):
Settings:
I also tried with the followings
It makes no difference in the final result. |
@midnightcodr we use Amazon SES and just rest my password on our community server. One thing you might check... has the email been verified for the user you are trying with? Also, did they login with twitter oauth? |
@geekgonecrazy The sender's email address has been verified. As a matter of fact, the same setting has been used in many programs without issues. We are not using twitter oauth for our chat server. |
Never mind, the problem was fixed by restarting the chat server. |
Had the same - restarting the server fixed the problem of the missing "From" header. |
is there a particular link where I can get some help regarding this application and issues related to this? thanks! |
@santhosh9 try posting it on #support channel in https://demo.rocket.chat |
Are you guys still having problems with reset password email? |
My 0.59.3 deployment works fine. Thanks. |
I'll close this issue, please let me know if you still have problems with reset password email and we can open it again. |
I am actually having this error on this server: +----------------------------------------------------------+ I also had the Additionally other e-mail-functions that I use (e.g. registration mail, test mail) do work, except the custom from field is not repected. |
Hey after i send request i didnt receive any email i check yahoo gmail hotmail and... and for more details : in creating account i receive emails and everything is ok |
When users try to reset their password via the "forgot your password" link, they see an error in their browser stating "Error trying to send email: Message delivery failed". The log only indicates this error:
[34mI20170201-17:55:22.254(0) �[34mMeteor ➔ method sendForgotPasswordEmail -> userId: null , arguments: { '0': '<email_address_removed>' }
The SMTP settings have been tested and are functional (test emails work, new account notifications work).
Possibly related, when an admin creates a new account, the user cannot login using the password that was generated. If the password is manually set, the user still cannot login using the manual password.
Rocket.Chat Version: 0.50.1
Running Instances: 1
DB Replicaset OpLog: Disabled
Node Version: runtime v.4.7.1
The text was updated successfully, but these errors were encountered: