Skip to content

Instantly share code, notes, and snippets.

@MageryThemes
Last active March 4, 2018 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MageryThemes/47fb9d5ce4b2a37151acd450ef12f8d6 to your computer and use it in GitHub Desktop.
Save MageryThemes/47fb9d5ce4b2a37151acd450ef12f8d6 to your computer and use it in GitHub Desktop.

In order to see generated email content you can check this method: Zend_Mail_Transport_Abstract::send() Find this line:

$this->body = $message->generateMessage($this->EOL);

body property contains quoted printable encoded HTML, you can decode it:

$plainEmailHtml = quoted_printable_decode($this->body);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment