There's a usage error in hook_mail and hook_mail_alter - the body is an array, not a string. This makes other modules emit fatal error when they try to manipulate the message. The attached patch makes this work correctly with the body as an array.

Comments

alex_b’s picture

Priority: Normal » Critical

Marking critical to make sure to include this fix in the next release.

alex_b’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new2.71 KB

Rerolled, tested and added a comment.

Will commit asap.

alex_b’s picture

StatusFileSize
new1.65 KB

#2 contains whitespace removal.

alex_b’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.