hook_mail allows the body of the message to be an array, with each element being a line. Drupal's default mail system also formats messages to keep them to a fixed width. It would be great if maillog displayed messages formatted in this way, and supported multiple lines in the array. The attached patch adds this functionality.

Comments

pluess’s picture

Assigned: Unassigned » pluess
Status: Active » Reviewed & tested by the community
StatusFileSize
new2.05 KB

Thanks for the patch. Recreated the patch with

git format-patch

to make sure you get the credits :-).

james.williams’s picture

Why, thank you kind sir :-)

miro_dietiker’s picture

Status: Reviewed & tested by the community » Fixed

Fixed.

Status: Fixed » Closed (fixed)

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