Package org.bluezoo.gumdrop.smtp.client.handler
package org.bluezoo.gumdrop.smtp.client.handler
SMTP client handler and state interfaces.
This package contains the callback interfaces used to handle SMTP server responses and the state interfaces that constrain which operations are valid at each stage of the SMTP protocol.
Server Reply Handler Interfaces
These interfaces define callbacks your handler receives for server responses:
ServerGreeting- Entry point for new connectionsServerEhloReplyHandler- Receives EHLO responseServerHeloReplyHandler- Receives HELO responseServerStarttlsReplyHandler- Receives STARTTLS responseServerAuthReplyHandler- Receives AUTH responsesServerMailFromReplyHandler- Receives MAIL FROM responseServerRcptToReplyHandler- Receives RCPT TO responseServerDataReplyHandler- Receives DATA/BDAT responseServerMessageReplyHandler- Receives message completion responseServerRsetReplyHandler- Receives RSET responseServerReplyHandler- Common reply handler methods
Client State Interfaces
These interfaces are provided to your handler callbacks, allowing you to issue SMTP commands at the appropriate protocol stage:
ClientSession- Base session operations (RSET, QUIT)ClientHelloState- Post-connect/EHLO state for starting transactionsClientPostTls- Post-STARTTLS state for re-issuing EHLOClientAuthExchange- SASL authentication exchangeClientEnvelope- MAIL FROM stateClientEnvelopeReady- Ready to start a new transactionClientEnvelopeState- RCPT TO and DATA stateClientMessageData- Message content streaming state
-
ClassDescriptionOperations during SASL authentication exchange.Operations available after MAIL FROM is accepted (no recipients yet).Operations available after at least one recipient is accepted.Common operations available during envelope construction.Operations available after receiving the server greeting.Operations for writing message content.Operations available after TLS upgrade.Operations available in an established SMTP session.MAIL FROM extension parameters for SMTP client.Handler for AUTH abort response.Handler for AUTH command responses.Handler for DATA command response.Handler for EHLO command response.Handler interface for receiving the initial SMTP server greeting.Handler for HELO command response.Handler for MAIL FROM command response.Handler for end-of-message response.Handler for RCPT TO command response.Base interface for all server reply handlers.Handler for RSET command response.Handler for STARTTLS command response.