com.ezprotocols.ezpop
Class Message

java.lang.Object
  |
  +--com.ezprotocols.ezpop.Message

public class Message
extends java.lang.Object

Represents an Electronic mail.


Constructor Summary
Message()
          Creates a new instance of Message.
 
Method Summary
 java.lang.String getBody()
          Gets the body of the electronic mail.
 java.lang.String getContentType()
          Gets the content-type of the electronic mail.
 java.lang.String getDate()
          Gets the date when the electronic mail was sent.
 java.lang.String getFrom()
          Gets the sender address of the electronic mail.
 java.lang.String getMimeVersion()
          Gets the MIME-Version of the electronic mail.
 int getPriority()
          Gets the priority of the electronic mail.
 java.lang.String getReplyTo()
          Gets the address for the reply.
 java.lang.String getSubject()
          Gets the subject of the electronic mail.
 java.lang.String getTo()
          Gets the address of the recipient(s) of the electronic mail.
 java.lang.String toString()
          Returns all message information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Message

public Message()
Creates a new instance of Message.
Method Detail

getBody

public java.lang.String getBody()
Gets the body of the electronic mail.

getMimeVersion

public java.lang.String getMimeVersion()
Gets the MIME-Version of the electronic mail.

getContentType

public java.lang.String getContentType()
Gets the content-type of the electronic mail.

getPriority

public int getPriority()
Gets the priority of the electronic mail.

getFrom

public java.lang.String getFrom()
Gets the sender address of the electronic mail.

getReplyTo

public java.lang.String getReplyTo()
Gets the address for the reply.

getDate

public java.lang.String getDate()
Gets the date when the electronic mail was sent.

getSubject

public java.lang.String getSubject()
Gets the subject of the electronic mail.

getTo

public java.lang.String getTo()
Gets the address of the recipient(s) of the electronic mail.

toString

public java.lang.String toString()
Returns all message information.
Overrides:
toString in class java.lang.Object


Copyright © EzProtocols.com All Rights Reserved.