Add attachment to specified e-mail and return its info object.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- emailId
- Type:
System Int32
E-mail
- name
- Type:
System String
Attachment name
- extension
- Type:
System String
Attachment extension
- mimetype
- Type:
System String
Atachment type
- size
- Type:
System Int32
Size of the attachment
- binary
- Type:
System Byte
Binary data
- contentId
- Type:
System String
Attachment conten ID
- guid
- Type:
System Guid
Attachment GUID - e.g. metafile GUID
- lastModified
- Type:
System DateTime
Last modification date of the attachment - e.g. metafile last modification
- siteId
- Type:
System Int32
Site ID - if the attachment is of specified site
Return Value
Type: EmailAttachmentInfoSee Also