Friends help to overcome the error when sending email, the usual form of feedback

return \Yii::$app ->mailer ->compose( ['html' => 'feedback-html'], [ 'msg' => $this->msg, ] ) ->setFrom($this->email) ->setTo(\Yii::$app->params['supportEmail']) ->setSubject('Π’Π΅ΠΌΠ° ..') ->send(); } 

In the SMTP settings, the mail is specified with the settings of Yii :: $ app-> params ['supportEmail'], when sending, knocks out an error:

 : Expected response code 354 but got code "554", with message "554 5.5.1 Error: no valid recipients 

if in the setFrom field I put the mail Yii :: $ app-> params ['supportEmail'] everything works fine, but I need to receive emails on behalf of the sender $ this-> email tell me where is the error or how to fix it?

    0