Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Reset password email not sent

Open haceru opened this issue 10 years ago • 7 comments

Hello,

I have just built the latest version of Rocket Chat and tested the mail functionality. I have set up the SMTP to use a Gmail account, and the "send invitation" part works OK (I actually received the invitation by email)

However, the Reset Password emails are not send. When checking the logs, this is the error I get:

Exception while invoking method 'sendForgotPasswordEmail' SenderError: Mail from command failed - 555 5.5.2 Syntax error. 84sm29732749ioh.3 - gsmtp

at Object.Future.wait (/var/www/Rocket.Chat/bundle/programs/server/node_modules/fibers/future.js:398:15)

The same error occurs for Confirmation Email (when registering a new user)

While searching the Internet for something similar, I found this: http://stackoverflow.com/questions/4321346/555-5-5-2-syntax-error-gmails-smtp

Maybe it is related? But if so, I don`t know how to verify or where to look for a fix

Any suggestions would be greatly appreciated Thank you

haceru avatar Jan 05 '16 15:01 haceru

I have also found this: http://stackoverflow.com/questions/28619056/meteor-accounts-failing-with-gmail-while-email-send-works-why

When looking at the three methods used to send various emails, I see sendConfirmationEmail.coffee and sendForgotPasswordEmail.coffee have the same code (which doesn`t work) while sendInvitationEmail.coffee has a different code (which works OK)

haceru avatar Jan 05 '16 21:01 haceru

Can you please try with the latest version? Thanks.

marceloschmidt avatar Apr 12 '16 11:04 marceloschmidt

I run the latest version and also have this problem. Can someone point me where to check?

crypt0jan avatar Jan 17 '17 14:01 crypt0jan

What version to you run @lepetitjan ?

engelgabriel avatar Jan 17 '17 20:01 engelgabriel

0.49.2 with snap

crypt0jan avatar Jan 17 '17 21:01 crypt0jan

What is the error in the logs?

engelgabriel avatar Jan 17 '17 21:01 engelgabriel

Never mind! I did an import from Slack and assumed the e-mail address of users were also copied, but they weren't. That's why it could not send an e-mail.

crypt0jan avatar Jan 18 '17 18:01 crypt0jan