Debug smtp
This commit is contained in:
parent
93292440ac
commit
daf30cf4ce
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue