67 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'ERROR_MESSAGE_INPUT_NOVALIDEMAIL' );
76 if ( !$oCaptcha->pass( $sMac, $sMacHash ) ) {
78 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'MESSAGE_WRONG_VERIFICATION_CODE' );
83 if ( !$aParams[
'oxuser__oxfname'] || !$aParams[
'oxuser__oxlname'] || !$aParams[
'oxuser__oxusername'] || !$sSubject ) {
85 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'ERROR_MESSAGE_INPUT_NOTALLFIELDS' );
90 $sMessage = $oLang->translateString(
'MESSAGE_FROM' ) .
" " .
91 $oLang->translateString( $aParams[
'oxuser__oxsal'] ) .
" " .
92 $aParams[
'oxuser__oxfname'] .
" " .
93 $aParams[
'oxuser__oxlname'] .
"(" .$aParams[
'oxuser__oxusername'] .
")<br /><br />" .
96 $oEmail =
oxNew(
'oxemail' );
97 if ( $oEmail->sendContactMail( $aParams[
'oxuser__oxusername'], $sSubject, $sMessage ) ) {
98 $this->_blContactSendStatus = 1;
100 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
'ERROR_MESSAGE_CHECK_EMAIL');
111 if ( $this->_oUserData === null ) {
114 return $this->_oUserData;
124 if ( $this->_sContactSubject === null ) {
137 if ( $this->_sContactMessage === null ) {
150 if ( $this->_oCaptcha === null ) {
151 $this->_oCaptcha =
oxNew(
'oxCaptcha');
177 $aPath[
'link'] = $this->
getLink();