The first error "IPS\Email\Outgoing\Exception: email_test_mailfunction_disabled (0) " pops up when there is no mail server specified in the php settings. The SMTP error appears when the entered details are invalid or if the SMTP server is unreachable.