74 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'ERROR_MESSAGE_INPUT_NOVALIDEMAIL');
84 if (!$oCaptcha->pass($sMac, $sMacHash)) {
86 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'MESSAGE_WRONG_VERIFICATION_CODE');
92 if (!$aParams[
'oxuser__oxfname'] || !$aParams[
'oxuser__oxlname'] || !$aParams[
'oxuser__oxusername'] || !$sSubject) {
94 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'ERROR_MESSAGE_INPUT_NOTALLFIELDS');
100 $sMessage = $oLang->translateString(
'MESSAGE_FROM') .
" " .
101 $oLang->translateString($aParams[
'oxuser__oxsal']) .
" " .
102 $aParams[
'oxuser__oxfname'] .
" " .
103 $aParams[
'oxuser__oxlname'] .
"(" . $aParams[
'oxuser__oxusername'] .
")<br /><br />" .
106 $oEmail =
oxNew(
'oxemail');
107 if ($oEmail->sendContactMail($aParams[
'oxuser__oxusername'], $sSubject, $sMessage)) {
108 $this->_blContactSendStatus = 1;
110 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'ERROR_MESSAGE_CHECK_EMAIL');
121 if ($this->_oUserData === null) {
125 return $this->_oUserData;
135 if ($this->_sContactSubject === null) {
149 if ($this->_sContactMessage === null) {
163 if ($this->_oCaptcha === null) {
164 $this->_oCaptcha =
oxNew(
'oxCaptcha');
191 $aPath[
'link'] = $this->
getLink();
204 return $this->
getConfig()->getActiveShop()->oxshops__oxcompany->value;