We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Refactor the dummy hardcoded templates for CalendarEvent/accept /reject /maybe automated replies and allow having different language supported.
CalendarEvent/accept /reject /maybe
For now only two languages should be supported French (fr) and English(en)
3 templates shall be provided per language (so here 3 x 2 = 6 templates)
Put the default templates per language under a default folder
The folder location should be configurable in TMail to be able to allow usage of customized templates.
The language can be passed into the JMAP call like this:
{ "using": ["urn:ietf:params:jmap:core", "com:linagora:params:calendar:event"], "methodCalls": [ [ "CalendarEvent/accept", { "accountId": "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6", "blobIds": ["0f9f65ab-dc7b-4146-850f-6e4881093965"], "language":"fr" }, "c1"] ] }
The default language should be english if missing.
DoD: Integration tests
The text was updated successfully, but these errors were encountered:
Note: The template file can be eml Example: https://github.com/linagora/tmail-backend/blob/d0bac4adfa40884c702e5bef5b1cf706b0f55bd8/tmail-backend/mailbox/plugin/welcome-listener/src/test/resources/file.eml
eml
Sorry, something went wrong.
Should be eml yes :)
Thanks for adding this missing declaration
pr: #970
vttranlina
Successfully merging a pull request may close this issue.
Refactor the dummy hardcoded templates for
CalendarEvent/accept /reject /maybe
automated replies and allow having different language supported.For now only two languages should be supported French (fr) and English(en)
3 templates shall be provided per language (so here 3 x 2 = 6 templates)
Put the default templates per language under a default folder
The folder location should be configurable in TMail to be able to allow usage of customized templates.
The language can be passed into the JMAP call like this:
The default language should be english if missing.
DoD: Integration tests
The text was updated successfully, but these errors were encountered: