MapiAttachment.Save
Save(string)
Saves the content of the attachment to a file. An embedded message is saved in MSG format.
public void Save(string filename)
| Parameter | Type | Description |
|---|---|---|
| filename | String | The path of the file to write. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | filename is null. |
See Also
- class MapiAttachment
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
Save(Stream)
Saves the content of the attachment to a stream. An embedded message is saved in MSG format.
public void Save(Stream stream)
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | The stream to write to. |
See Also
- class MapiAttachment
- namespace Aspose.Email.Mapi
- assembly Aspose.Email