the attached patch fixes t() calls to omit html tags in emails. it also fixes the drupal_mail call ($headers is an array, not a string.. and default behavior of drupal_mail with a $from parameter sets all those $headers, so just omitting the param).
patch is against HEAD (couldn't pick that in version listbox, so selected 5.x-1.2)

Comments

drewish’s picture

Status: Needs review » Needs work

the patch no longer applies.

drewish’s picture

StatusFileSize
new6.73 KB

here's a re-roll.

drewish’s picture

Status: Needs work » Fixed
StatusFileSize
new7.05 KB

i'd missed your drupal_mail fix. i've committed the attached patch.

Anonymous’s picture

Status: Fixed » Closed (fixed)