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

Emails are not encoded properly #135

Closed
hasso opened this issue Oct 15, 2015 · 3 comments
Closed

Emails are not encoded properly #135

hasso opened this issue Oct 15, 2015 · 3 comments

Comments

@hasso
Copy link

hasso commented Oct 15, 2015

If alert summary and/or description contains non-ascii symbols, it breaks emails.

  • There is no content type headers in email and most of mail clients don't use UTF-8 by default - the message body is broken in most of mail clients.
  • If non-ascii symbols will end up in email subject, it's even worse. All headers (including subject) need to be encoded properly and if they are not, various sanity checks in mail transport (including virus and spam scanners) could throw these mails away. For example Amavis complains here:

BAD HEADER Non-encoded 8-bit data (char C3 hex) in message header 'Subject'

@fabxc
Copy link
Contributor

fabxc commented Oct 19, 2015

Thanks for the report. I considered that in the rewrite of Alertmanager.

@brian-brazil
Copy link
Contributor

This will be correctly handled in the alertmanager templating for all headers.

@brian-brazil
Copy link
Contributor

This is be handled correctly in the new alertmanager, which is currently in alpha.

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

No branches or pull requests

3 participants