Skip to content

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

Merged
engelgabriel merged 1 commit into
RocketChat:developfrom
ExTechOp:patch-1
May 25, 2017
Merged

[FIX] Add <html> and </html> to header and footer#7025
engelgabriel merged 1 commit into
RocketChat:developfrom
ExTechOp:patch-1

Conversation

@ExTechOp
Copy link
Copy Markdown
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
Copy Markdown
Member

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

@ExTechOp
Copy link
Copy Markdown
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 engelgabriel requested a review from karlprieb May 22, 2017 21:27
@engelgabriel engelgabriel added this to the 0.57.0 milestone May 22, 2017
@engelgabriel
Copy link
Copy Markdown
Member

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

@sampaiodiego
Copy link
Copy Markdown
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