<commit_before><?php

class SV_DevNullEmail_Transport_DevNull extends Zend_Mail_Transport_Abstract
{
    protected function _sendMail()
    {
        $options = XenForo_Application::get('options');

        if ($options->sv_devnullemail_error)
        {
            throw new Zend_Mail_Transport_Exception($options->sv_devnullemail_failurereason);
        }
        return true;
    }
}<commit_msg>Log when email is null-routed<commit_after><?php

class SV_DevNullEmail_Transport_DevNull extends Zend_Mail_Transport_Abstract
{
    protected function _sendMail()
    {
        $options = XenForo_Application::get('options');

        if ($options->sv_devnullemail_error)
        {
            throw new Zend_Mail_Transport_Exception($options->sv_devnullemail_failurereason);
        }
        XenForo_Error::debug("Null routed email to " . $this->recipients); 
        return true;
    }
}
{'fraction_non_alphanumeric': 0.09009009009009009, 'fraction_numerical': 0.0, 'mean_word_length': 3.3155339805825244, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7243084', 'n_tokens_mistral': 277, 'n_tokens_neox': 261, 'n_words': 43}