Class AttachmentBase
Contents
[
Hide
]AttachmentBase class
The base class of attachments, alternate views and linked resources: a MIME part with its content and headers.
public abstract class AttachmentBase : IDisposable
Properties
| Name | Description |
|---|---|
| ContentId { get; set; } | Gets or sets the content ID of the part, by which HTML refers to it with a cid: URL. |
| ContentStream { get; set; } | Gets or sets the stream that holds the content. |
| ContentType { get; set; } | Gets or sets the content type of the part: its media type, name and character set. |
| virtual Headers { get; } | Gets the MIME headers of the part. |
| TransferEncoding { get; set; } | Gets or sets how the content is encoded for transfer, such as Base64 or quoted-printable. |
| UniqueId { get; } | Gets an identifier of the part that stays the same while the application runs. |
Methods
| Name | Description |
|---|---|
| Dispose() | Releases the resources used by the part, including its content stream. |
| virtual Save(Stream) | Saves the decoded content of the part to a stream. |
| virtual Save(string) | Saves the decoded content of the part to a file. |
See Also
- namespace Aspose.Email
- assembly Aspose.Email