Outbound email fails with "java.lang.IllegalStateException: Not connected"Issue An outbound email fails to send with SMTPExceptionHandler: java.lang.IllegalStateException: Not connected. The email record moves to Type:send-failed, State:ignored, and Mailbox:Failed, and is not automatically retried, although no SMTP Sender job failure was reported. Release All Cause Repeated rejections of invalid recipient addresses on a preceding email caused the receiving mail server to close the SMTP connection. The next email in the same batch attempted to reuse the closed connection, resulting in java.lang.IllegalStateException: Not connected. The email entered send-failed rather than the retry path. Resolution 1. Resend the affected email. The email is in a send-failed state and will not resend on its own. Resend it manually from the original record if the update still needs to reach the recipients. 2. Find the email sent just before it. In the logs, look for the email in the same transaction and on the same worker thread that is marked send-retry. Check its recipient list for misspelled or invalid addresses. 3. Correct the invalid addresses at the source. Fix the recipient details used by the notification or workflow that generated that email, such as the user records or recipient lists. Without this, the same invalid addresses can cause the connection to close again and fail the next email in the batch. 4. Verify. Confirm the resent email shows as sent and the recipients received it. Check that no new Not connected errors appear for later emails.