public abstract class MessageInfoBase extends Object implements com.aspose.ms.System.IDisposable
The MessageInfo represents the E-Mail message info fetched from the mail server.
Constructor and Description |
---|
MessageInfoBase()
Initializes a new instance of the
MessageInfoBase class. |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
|
MailAddressCollection |
getBcc()
Gets blind carbon copy of the E-Mail message.
|
MailAddressCollection |
getCC()
Gets CC of the E-Mail message.
|
MailAddress |
getFrom()
Gets the list of authors of this message.
|
HeaderCollection |
getHeaders()
Gets the Headers of the E-Mail message.
|
String |
getListUnsubscribe()
The List-Unsubscribe field describes the command (preferably using mail) to directly unsubscribe the user(removing them from the list).
|
MailAddress |
getSender()
Gets the sender of this message.
|
long |
getSize()
Gets the size of the E-Mail message.
|
String |
getSubject()
Gets the Subject of the E-Mail message.
|
MailAddressCollection |
getTo()
Gets the receiptants of the E-Mail message.
|
String |
toString()
A string that represents the current object.
|
public MessageInfoBase()
Initializes a new instance of the MessageInfoBase
class.
public final HeaderCollection getHeaders()
Gets the Headers of the E-Mail message.
Value: The headers.public final String getSubject()
Gets the Subject of the E-Mail message.
public MailAddressCollection getTo()
Gets the receiptants of the E-Mail message.
public MailAddressCollection getCC()
Gets CC of the E-Mail message.
public MailAddressCollection getBcc()
Gets blind carbon copy of the E-Mail message.
public final MailAddress getFrom()
Gets the list of authors of this message.
Value: The list of authors of this message.public final MailAddress getSender()
Gets the sender of this message.
Value: The sender of this message.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
public final long getSize()
Gets the size of the E-Mail message.
Value: The size of the E-Mail message.public void dispose()
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
dispose
in interface com.aspose.ms.System.IDisposable
Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.