76 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'ERROR_MESSAGE_INPUT_NOVALIDEMAIL');
86 if (!$oCaptcha->pass($sMac, $sMacHash)) {
88 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'MESSAGE_WRONG_VERIFICATION_CODE');
94 if (!$aParams[
'oxuser__oxfname'] || !$aParams[
'oxuser__oxlname'] || !$aParams[
'oxuser__oxusername'] || !$sSubject) {
96 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'ERROR_MESSAGE_INPUT_NOTALLFIELDS');
102 $sMessage = $oLang->translateString(
'MESSAGE_FROM') .
" " .
103 $oLang->translateString($aParams[
'oxuser__oxsal']) .
" " .
104 $aParams[
'oxuser__oxfname'] .
" " .
105 $aParams[
'oxuser__oxlname'] .
"(" . $aParams[
'oxuser__oxusername'] .
")<br /><br />" .
108 $oEmail =
oxNew(
'oxemail');
109 if ($oEmail->sendContactMail($aParams[
'oxuser__oxusername'], $sSubject, $sMessage)) {
110 $this->_blContactSendStatus = 1;
112 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'ERROR_MESSAGE_CHECK_EMAIL');
123 if ($this->_oUserData === null) {
127 return $this->_oUserData;
137 if ($this->_sContactSubject === null) {
151 if ($this->_sContactMessage === null) {
167 if ($this->_oCaptcha === null) {
168 $this->_oCaptcha =
oxNew(
'oxCaptcha');
195 $aPath[
'link'] = $this->
getLink();
208 return $this->
getConfig()->getActiveShop()->oxshops__oxcompany->value;