EmailPackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage

public abstract class EmailPackage extends CustomPackage

Represents email message metadata.

Learn more

Methods

Method Description
getAttachedFileNames() Gets an array of the names of the attached files.
getSubject() Gets the email subject.
setSubject(String value) Sets the email subject.
getRecipients() Gets the array of the email recipients.
setRecipients(String[] value) Sets the array of the email recipients.
getCarbonCopyRecipients() Gets the array of CC (carbon copy) recipients of the email message.
setCarbonCopyRecipients(String[] value) Sets the array of CC (carbon copy) recipients of the email message.
getBlindCarbonCopyRecipients() Gets the array of BCC (blind carbon copy) recipients of the email message.
setBlindCarbonCopyRecipients(String[] value) Sets the array of BCC (blind carbon copy) recipients of the email message.
getSender() Gets the email address of the sender.
getHeaders() Gets a metadata package containing the email headers.

getAttachedFileNames()

public final String[] getAttachedFileNames()

Gets an array of the names of the attached files.

Returns: java.lang.String[] - An array of the names of the attached files.

getSubject()

public final String getSubject()

Gets the email subject.

Returns: java.lang.String - The email subject.

setSubject(String value)

public final void setSubject(String value)

Sets the email subject.

Parameters:

Parameter Type Description
value java.lang.String The email subject.

getRecipients()

public final String[] getRecipients()

Gets the array of the email recipients.

Returns: java.lang.String[] - The array of the email recipients.

setRecipients(String[] value)

public final void setRecipients(String[] value)

Sets the array of the email recipients.

Parameters:

Parameter Type Description
value java.lang.String[] The array of the email recipients.

getCarbonCopyRecipients()

public final String[] getCarbonCopyRecipients()

Gets the array of CC (carbon copy) recipients of the email message.

Returns: java.lang.String[] - The array of CC (carbon copy) recipients of the email message.

setCarbonCopyRecipients(String[] value)

public final void setCarbonCopyRecipients(String[] value)

Sets the array of CC (carbon copy) recipients of the email message.

Parameters:

Parameter Type Description
value java.lang.String[] The array of CC (carbon copy) recipients of the email message.

getBlindCarbonCopyRecipients()

public final String[] getBlindCarbonCopyRecipients()

Gets the array of BCC (blind carbon copy) recipients of the email message.

Returns: java.lang.String[] - The array of BCC (blind carbon copy) recipients of the email message.

setBlindCarbonCopyRecipients(String[] value)

public final void setBlindCarbonCopyRecipients(String[] value)

Sets the array of BCC (blind carbon copy) recipients of the email message.

Parameters:

Parameter Type Description
value java.lang.String[] The array of BCC (blind carbon copy) recipients of the email message.

getSender()

public final String getSender()

Gets the email address of the sender.

Returns: java.lang.String - The email address of the sender.

getHeaders()

public final EmailHeaderPackage getHeaders()

Gets a metadata package containing the email headers.

Returns: EmailHeaderPackage - A metadata package containing the email headers.