# E_SMTP002: SMTP configuration test failed

- Module: E. E-mail dispatch and SMTP configuration tests (legacy codes)
- Severity: Critical
- Impact: Operators. Organisation staff should take a look. Customers are not affected.
- Retry: Manual. Safe for an operator to retry the action.
- Reference: https://docs.bizkithub.com/en/system-codes/E_SMTP002

## What happened

A newly saved SMTP configuration could not deliver the test message. Outbound e-mail through this configuration will fail until it is corrected.

## Likely causes

- Wrong SMTP host, port, or encryption setting.
- Invalid username or password, or the provider requires an app-specific password.
- The provider does not allow sending from the configured sender address.

## How to resolve

1. Open Settings and review the organisation's e-mail (SMTP) configuration.
2. Verify credentials and allowed sender addresses with your mail provider.
3. Save the configuration again to repeat the test.

## Related codes

- E_SMTP001: SMTP configuration test succeeded
- EML_FALLBACK: Outbound e-mail re-routed via system mailer
- EML_SEND_CRIT: E-mail delivery critical failure
- E_004: Manual e-mail could not be sent
- E_003: Manual e-mail sent
