org.jasen.interfaces
Interface ReceivedHeaderParserData

All Known Implementing Classes:
ReceivedHeaderParserDataImpl

public interface ReceivedHeaderParserData

Represents the data item returned from parsing a MIME "received" header.

See Also:
ReceivedHeaderParser

Method Summary
 Date getDateReceived()
          Gets the date the message was recieved from the sending server
 String getReceiverHostName()
          Gets the host name of the receiving server
 String getSenderHostName()
          Gets the host name of the sending server
 String getSenderIPAddress()
          Gets the IP address of the sending server
 

Method Detail

getSenderIPAddress

public String getSenderIPAddress()
Gets the IP address of the sending server

Returns:
The IP address of the server from which the email was sent

getSenderHostName

public String getSenderHostName()
Gets the host name of the sending server

Returns:
The host name provided in the HELO command from the sending server

getReceiverHostName

public String getReceiverHostName()
Gets the host name of the receiving server

Returns:
The host name recorded for the receiving server

getDateReceived

public Date getDateReceived()
Gets the date the message was recieved from the sending server

Returns:
The date recorded in the message header