Debug smtp

This commit is contained in:
Karl Cordes 2020-11-03 19:43:37 +11:00
parent 93292440ac
commit daf30cf4ce

View file

@ -914,6 +914,7 @@ ENDINSTRUCTIONS;
}
else {
$this->set('smtp_errors', $this->Email->smtpError);
print_r($this->Email->smtpError);
$this->Session->setFlash(__('The Email has NOT been sent. Something went wrong.', true));
//$this->redirect(array('action'=>'view/'.$id), null, false);