EmailPackage
Leave feedback
On this page
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
| 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. |
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.
public final String getSubject()
Gets the email subject.
Returns: java.lang.String - The email subject.
public final void setSubject(String value)
Sets the email subject.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The email subject. |
public final String[] getRecipients()
Gets the array of the email recipients.
Returns: java.lang.String[] - The array of the email recipients.
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. |
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.
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. |
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.
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. |
public final String getSender()
Gets the email address of the sender.
Returns: java.lang.String - The email address of the sender.
public final EmailHeaderPackage getHeaders()
Gets a metadata package containing the email headers.
Returns: EmailHeaderPackage - A metadata package containing the email headers.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.