@Deprecated public class EmailAttachmentCollection extends RemoveOnlyListBase<EmailAttachment>
Represents a collection of attachments in an email message.
Modifier and Type | Method and Description |
---|---|
void |
add(byte[] fileContent,
String name)
Deprecated.
Adds an attachment to the
EmailDocument . |
clear, isReadOnly, remove, removeAt
public final void add(byte[] fileContent, String name)
Adds an attachment to the EmailDocument
.
fileContent
- The content of the file to be attached.name
- The name of the file.