Once configured properly there wouldn't be an error in the SMTP action itself unless the smtp username or password changed or you pass a mal-formed email address which you could check with form validation. There is an error number and message that would be returned to the email object, but really it shouldn't ever happen once your form is set up properly.