Skip to content

HAMUR_W6707: A mail template has a style block

A mail template has a style block. Warning HAMUR_W6707 belongs to @hamur/mail (6701 – 6800).

Message

text
HAMUR_W6707 <file> has a <style> block; mail clients drop it, so write styles inline

Cause

The template's styles are in a <style> block, which mail clients remove from a message.

Fix

Write each style in the element's style attribute and remove the block.