protected function AddOrderNotificationDataForOrderFailure($aData, $oMail, $sSendToMail)
    {
        $aAdditionalMailData = array('iAttemptsToSend' => 1, 'sSendToMail' => $sSendToMail);
        $oMail->AddDataArray($aAdditionalMailData);
        if (!is_array($aData)) {
            $aData = array();
        }
        $aData['object_mail'] = base64_encode(serialize($oMail));

        return $aData;
    }