public interface SMTPSession extends ProtocolSession
ProtocolSession.State
Modifier and Type | Field and Description |
---|---|
static String |
CURRENT_HELO_MODE
HELO or EHLO
|
static String |
CURRENT_HELO_NAME |
static String |
RCPT_LIST
The message recipients
|
static String |
SENDER
Sender's email address
|
Modifier and Type | Method and Description |
---|---|
SMTPConfiguration |
getConfiguration()
Returns the service wide configuration
|
int |
getRcptCount()
Returns the recipient count
|
boolean |
isAuthSupported()
Returns whether Authentication is required or not
|
boolean |
isRelayingAllowed()
Returns whether Relaying is allowed or not
|
void |
setRelayingAllowed(boolean relayingAllowed)
Set if reallying is allowed
|
getAttachment, getCharset, getConnectionState, getLineDelimiter, getLocalAddress, getLogger, getPushedLineHandlerCount, getRemoteAddress, getSessionID, getState, getUser, isStartTLSSupported, isTLSStarted, newFatalErrorResponse, newLineTooLongResponse, popLineHandler, pushLineHandler, resetState, setAttachment, setUser
static final String SENDER
static final String RCPT_LIST
static final String CURRENT_HELO_MODE
static final String CURRENT_HELO_NAME
SMTPConfiguration getConfiguration()
getConfiguration
in interface ProtocolSession
boolean isRelayingAllowed()
void setRelayingAllowed(boolean relayingAllowed)
relayingAllowed
- boolean isAuthSupported()
int getRcptCount()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.