public class EmailAttachmentCollection extends RemoveOnlyListBase<EmailAttachment>
This collection contains the items of
type.EmailAttachment
Modifier and Type | Method and Description |
---|---|
void |
add(byte[] fileContent,
String name)
Adds an attachment to the
. |
clear, isReadOnly, remove, removeAt
public final void add(byte[] fileContent, String name)
EmailContent
.fileContent
- The content of the file to be attached.name
- The name of the file.