Skip to content
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

Server error when i will sending selected messages by email #6402

Assignees
Milestone

Comments

@athossouza
Copy link

athossouza commented Mar 20, 2017

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

@pkgodara
Copy link
Contributor

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

@athossouza
Copy link
Author

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

@athossouza
Copy link
Author

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

@athossouza
Copy link
Author

This problem happen with someone more?

@localguru
Copy link
Contributor

localguru commented May 30, 2017

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:  [ 'myemailaddress@mydomain.de' ]
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

@localguru
Copy link
Contributor

localguru commented May 30, 2017

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

@rasos
Copy link
Contributor

rasos commented Jun 15, 2017

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

@sampaiodiego sampaiodiego added this to the Short-term milestone Jul 3, 2017
@sampaiodiego
Copy link
Member

@athossouza do you still have this issue?

@sampaiodiego
Copy link
Member

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)

@athossouza
Copy link
Author

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

@sampaiodiego
Copy link
Member

not yet.. please follow #7245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment