API Reference
Class
EmailInlineResource
Represents an inline resource (typically an image) intended to be attached as an inline MIME part (CID). Html output should reference it via cid:{ContentId}.
Inheritance
- Object
- EmailInlineResource
Constructors
public EmailInlineResource(String contentId, String mimeType, Byte[] data, String fileName = null) #Creates a new inline resource description.
Parameters
- contentId System.String
- Content-Id value (without the cid: prefix).
- mimeType System.String
- MIME type (e.g., image/png).
- data System.Byte[]
- Raw bytes of the resource.
- fileName System.String = null
- Optional file name for the attachment.