org.subethamail.smtp
Interface MessageContext
- All Known Implementing Classes:
- Session
public interface MessageContext
Interface which provides context to the message handlers.
- Author:
- Jeff Schnitzer
getSMTPServer
SMTPServer getSMTPServer()
- Returns:
- the SMTPServer object.
getRemoteAddress
java.net.SocketAddress getRemoteAddress()
- Returns:
- the IP address of the remote server.
getAuthenticationHandler
AuthenticationHandler getAuthenticationHandler()
- Returns:
- the handler that was used to authenticate. You will
probably want to upcast this object to the actual implementation
to pull out information like user identity.
Copyright © 2009 SubEthaSMTP. All Rights Reserved. Build version: UNVERSIONED