SilverShop\Checkout\OrderEmailNotifier::debug
The new Email::debug method in SilverStripe dumps the entire message with all message parts, which makes it unusable to preview an Email.
This method simulates the old way of the message output and renders only the HTML body.
Signature
protected function debug(Email
$email )
Parameters
$email
— SilverStripe\Control\Email\Email
Returns
- string