HomePhorge

Fix an issue where transactions in mail were always rendered as text

Description

Fix an issue where transactions in mail were always rendered as text

Summary:
Fixes T12921. Currently, we call getTitleForHTMLMail(), but that calls getTitleForMail() which forces us into text rendering mode.

Instead, have getTitleForHTML/TextMail() force the rendering mode, then call getTitleForMail() with the desired rendering mode.

This causes stories like "epriestely added dependent tasks: x, y." to appear as links in email instead of plain text.

Test Plan: Used bin/mail show-outbound --id ... --dump-html > out.html to verify HTML mail.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T12921

Differential Revision: https://secure.phabricator.com/D19968

Details

Provenance
epriestleyAuthored on Jan 14 2019, 9:52 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPc3cafffed726: Update the "SES" and "sendmail" mailers for the new API; remove "encoding"
Branches
Unknown
Tags
Unknown

Event Timeline