Rocket.chat: Server error when i will sending selected messages by email

Created on 20 Mar 2017  路  11Comments  路  Source: RocketChat/Rocket.Chat

Hi
Server error when i will sending selected messages by email, but when I will test the smtp it work normally, I did this video for better explanation.

sending mail error rocket chat

See V铆deo

Sending mail error Rocket Chat.zip

image

email bug

Most helpful comment

Problem only occurs when language is set to non-EN.
Patch has been submitted, waiting for accepting pull request.

All 11 comments

Mine is working fine. I'm not able to reproduce this. Are you using docker? What does console output?

I use this command snap install rocketchat-server when I installed, this information is relevant for you?

Now I'm using the 0.55.1 version and also not work this

This problem happen with someone more?

Same here with 0.56.0, manual installation. Sending email e.g. for offline notifications works fine.

May 30 10:11:33 server rocketchat[31233]: Sending messages to e-mails:  [ '[email protected]' ]
May 30 10:11:33 server rocketchat[31233]: Exception while invoking method 'mailMessages' TypeError: Cannot read property 'defineLocale' of undefined
May 30 10:11:33 server rocketchat[31233]:   at eval (<anonymous>:30:20)
May 30 10:11:33 server rocketchat[31233]:   at format.m (<anonymous>:12:4)
May 30 10:11:33 server rocketchat[31233]:   at eval (<anonymous>:13:2)
May 30 10:11:33 server rocketchat[31233]:   at [object Object].Meteor.methods.mailMessages (/var/www/rocketchat/Rocket.Chat/programs/server/packages/rocketchat_channel-settings-mail-messages.js:125:23)
May 30 10:11:33 server rocketchat[31233]:   at [object Object].methodsMap.(anonymous function) (/var/www/rocketchat/Rocket.Chat/programs/server/packages/rocketchat_lib.js:1021:26)
May 30 10:11:33 server rocketchat[31233]:   at [object Object].methodMap.(anonymous function) (packages/rocketchat_monitoring.js:2731:30)
May 30 10:11:33 server rocketchat[31233]:   at maybeAuditArgumentChecks (/var/www/rocketchat/Rocket.Chat/programs/server/packages/ddp-server.js:1823:12)
May 30 10:11:33 server rocketchat[31233]:   at /var/www/rocketchat/Rocket.Chat/programs/server/packages/ddp-server.js:905:20
May 30 10:11:33 server rocketchat[31233]:   at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
May 30 10:11:33 server rocketchat[31233]:   at /var/www/rocketchat/Rocket.Chat/programs/server/packages/ddp-server.js:904:41
May 30 10:11:33 server rocketchat[31233]:   at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
May 30 10:11:33 server rocketchat[31233]:   at /var/www/rocketchat/Rocket.Chat/programs/server/packages/ddp-server.js:903:46
May 30 10:11:33 server rocketchat[31233]:   at [object Object]._.extend.protocol_handlers.method (/var/www/rocketchat/Rocket.Chat/programs/server/packages/ddp-server.js:876:21)
May 30 10:11:33 server rocketchat[31233]:   at /var/www/rocketchat/Rocket.Chat/programs/server/packages/ddp-server.js:755:85

seems to be the same error like in #6611 and #6179

Problem only occurs when language is set to non-EN.
Patch has been submitted, waiting for accepting pull request.

@athossouza do you still have this issue?

thanks for the info guys.. looks this is a duplicate of #5797 .. also there is an open pull request aiming to fix it already (#7245)

@sampaiodiego great, when I change language to English this work
Now it work with any language?

not yet.. please follow #7245

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danpospisil picture danpospisil  路  3Comments

royalaid picture royalaid  路  3Comments

mattlin picture mattlin  路  3Comments

Kiran-Rao picture Kiran-Rao  路  3Comments

amayer5125 picture amayer5125  路  3Comments