use red color for warning

This commit is contained in:
Son 2022-03-30 12:17:50 +07:00
parent 67c2c6afad
commit 1b5521efcf

View file

@ -726,7 +726,11 @@ def handle_forward(envelope, msg: Message, rcpt_to: str) -> List[Tuple[bool, str
msg = add_header(
msg,
f"""This email failed anti-phishing checks when its received by SimpleLogin, be careful with its content.""",
f"""This email failed anti-phishing checks when its received by SimpleLogin, be careful with its content.""",
f"""
<p style="color:red">
This email failed anti-phishing checks when its received by SimpleLogin, be careful with its content.
</p>
""",
)
ret = []