Is there an way to override the $_body in the email hook 'email_send'. I cant find a way to modify the raw body and not the $_final_body.


1 Answer 1


There is not. When building Escort, I had to manually break $finalbody into pieces using regular expressions so I could see what the email was actually made up of (note that it has already been mime-encoded at that point).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.