EmailEmbeddedObjectCollection
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.watermark.common.ReadOnlyListBase, com.groupdocs.watermark.common.RemoveOnlyListBase
public class EmailEmbeddedObjectCollection extends RemoveOnlyListBase<EmailEmbeddedObject>
Represents a collection of embedded objects in an email message.
This collection contains the items of [EmailEmbeddedObject](../../com.groupdocs.watermark.contents/emailembeddedobject) type.
| Method | Description |
|---|---|
| add(byte[] fileContent, String name) | Adds an embedded resource to the [EmailContent](../../com.groupdocs.watermark.contents/emailcontent). |
| removeFromDocument(EmailEmbeddedObject item) |
public final void add(byte[] fileContent, String name)
Adds an embedded resource to the [EmailContent](../../com.groupdocs.watermark.contents/emailcontent).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| fileContent | byte[] | The content of the file to be added. |
| name | java.lang.String | The name of the file. |
public void removeFromDocument(EmailEmbeddedObject item)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| item | EmailEmbeddedObject |
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.