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

[FIX] Add <html> and </html> to header and footer #7025

Merged
merged 1 commit into from
May 25, 2017

Conversation

ExTechOp
Copy link
Contributor

Adding the html tags makes the emails sent out by rocket.chat better compliant with standards, and lowers the chance they'll be marked as spam.

@RocketChat/core

Closes #7001

Adding the html tags makes the emails sent out by rocket.chat better compliant with standards, and lowers the chance they'll be marked as spam.
@sampaiodiego
Copy link
Member

thanks @ExTechOp .. I think we also need <body/> tags to have a valid HTML, right?

@ExTechOp
Copy link
Contributor Author

Email messages aren't usually formatted like complete web pages, with <head></head> and <body></body> sections. Adding the <html></html> tags should be sufficient at least for the purpose of heuristic-based spam detection – I do not know of any such system that does more extensive html syntax/semantics analysis.

@engelgabriel
Copy link
Member

@sampaiodiego and @rodrigok should we add a migration here?

@sampaiodiego
Copy link
Member

good catch @engelgabriel .. yes we do need.

@engelgabriel engelgabriel merged commit 2fc4fd6 into RocketChat:develop May 25, 2017
@ExTechOp ExTechOp deleted the patch-1 branch May 25, 2017 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include <html> and </html> in header and footer
4 participants