Applies the given transform to each line of the message
The message with the transform applied
Transform to apply