MessageInfoBase

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.IDisposable, java.io.Closeable

public abstract class MessageInfoBase implements System.IDisposable, Closeable

The MessageInfo represents the E-Mail message info fetched from the mail server.

Constructors

ConstructorDescription
MessageInfoBase()Initializes a new instance of the MessageInfoBase class.

Methods

MethodDescription
close()
dispose()Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
equals(Object arg0)
getBcc()Gets blind carbon copy of the E-Mail message.
getCC()Gets CC of the E-Mail message.
getClass()
getDate()The origination date specifies the date and time at which the creator of the message indicated that the message was complete and ready to enter the mail delivery system.
getFrom()Gets the list of authors of this message.
getHeaders()Gets the Headers of the E-Mail message.
getListUnsubscribe()The List-Unsubscribe field describes the command (preferably using mail) to directly unsubscribe the user(removing them from the list).
getMessageId()Gets the message ID.
getProperties()Gets a mapi properties.
getReplyTo()Gets the list of addresses that should receive replies to this message.
getSender()Gets the sender of this message.
getSize()Gets the size of the E-Mail message.
getSubject()Gets the Subject of the E-Mail message.
getTo()Gets the receiptants of the E-Mail message.
hashCode()
notify()
notifyAll()
toString()A string that represents the current object.
wait()
wait(long arg0)
wait(long arg0, int arg1)

MessageInfoBase()

public MessageInfoBase()

Initializes a new instance of the MessageInfoBase class.

close()

public void close()

dispose()

public void dispose()

Performs tasks associated with freeing, releasing, or resetting unmanaged resources.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBcc()

public MailAddressCollection getBcc()

Gets blind carbon copy of the E-Mail message.

Returns: MailAddressCollection

getCC()

public MailAddressCollection getCC()

Gets CC of the E-Mail message.

Returns: MailAddressCollection

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDate()

public Date getDate()

The origination date specifies the date and time at which the creator of the message indicated that the message was complete and ready to enter the mail delivery system. For instance, this might be the time that a user pushes the “send” or “submit” button in an application program. In any case, it is specifically not intended to convey the time that the message is actually transported, but rather the time at which the human or other creator of the message has put the message into its final form, ready for transport. (For example, a portable computer user who is not connected to a network might queue a message for delivery. The origination date is intended to contain the date and time that the user queued the message, not the time when the user connected to the network to send the message.)

Returns: java.util.Date

getFrom()

public final MailAddress getFrom()

Gets the list of authors of this message.

Value: The list of authors of this message.

Returns: MailAddress

getHeaders()

public final HeaderCollection getHeaders()

Gets the Headers of the E-Mail message.

Value: The headers.

Returns: HeaderCollection

getListUnsubscribe()

public final String getListUnsubscribe()

The List-Unsubscribe field describes the command (preferably using mail) to directly unsubscribe the user(removing them from the list). For more details please see https://tools.ietf.org/html/rfc2369

Returns: java.lang.String

getMessageId()

public final String getMessageId()

Gets the message ID.

Value: The message id string.

Returns: java.lang.String

getProperties()

public MapiPropertyCollection getProperties()

Gets a mapi properties.

Returns: MapiPropertyCollection

getReplyTo()

public final MailAddressCollection getReplyTo()

Gets the list of addresses that should receive replies to this message.

Value: The list of addresses.

Returns: MailAddressCollection

getSender()

public final MailAddress getSender()

Gets the sender of this message.

Value: The sender of this message.

Returns: MailAddress

getSize()

public final long getSize()

Gets the size of the E-Mail message.

Value: The size of the E-Mail message.

Returns: long

getSubject()

public final String getSubject()

Gets the Subject of the E-Mail message.

Returns: java.lang.String

getTo()

public MailAddressCollection getTo()

Gets the receiptants of the E-Mail message.

Returns: MailAddressCollection

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

A string that represents the current object.

Returns: java.lang.String - Returns a string that represents the current object.

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int