concrete/src/Mail/Importer/MailImporter.php
public function isSendError()
    {
        $message = $this->getOriginalMessageObject();
        $headers = $message->getHeaders();
        $isSendError = false;
        if (is_array($headers) && count($headers)) {
            foreach (array_keys($headers) as $key) {
                if (strstr($key, 'x-fail') !== false) {
                    $isSendError = true;
                    break;
                }
            }
        }

        return $isSendError;
    }
public function isSendError()
    {
        $message = $this->getOriginalMessageObject();
        $headers = $message->getHeaders();
        $isSendError = false;
        if (is_array($headers) && count($headers)) {
            foreach (array_keys($headers) as $key) {
                if (strstr($key, 'x-fail') !== false) {
                    $isSendError = true;
                    break;
                }
            }
        }

        return $isSendError;
    }
public function isSendError ( ) { $ message = $ this -> getOriginalMessageObject ( ) ; $ headers = $ message -> getHeaders ( ) ; $ isSendError = false ; if ( is_array ( $ headers ) && count ( $ headers ) ) { foreach ( array_keys ( $ headers ) as $ key ) { if ( strstr ( $ key , 'x-fail' ) !== false ) { $ isSendError = true ; break ; } } } return $ isSendError ; }
checks to see if the message is a bounce or delivery failure.

@return bool
checks to see if the message is a bounce or delivery failure .