add method
add
Adds an attachment to the EmailContent.
def add(self, file_content, name):
...
| Parameter | Type | Description |
|---|---|---|
| file_content | bytes | The content of the file to be attached. |
| name | str | The name of the file. |
See Also
- module
groupdocs.watermark.contents.email - class
EmailAttachmentCollection - class
EmailContent