Represents mboxrd format storage writer, this format is being used by Thunderbird and other mail clients. More...
Inherits Aspose::Email::Storage::Mbox::MboxStorageWriter.
Public Member Functions | |
| MboxrdStorageWriter (System::SharedPtr< System::IO::Stream > stream, bool leaveOpen) | |
| Initializes a new instance of the MboxrdStorageWriter class. More... | |
| MboxrdStorageWriter (System::String fileName, bool leaveOpen) | |
| Initializes a new instance of the MboxrdStorageWriter class. More... | |
| System::String | WriteMessage (System::SharedPtr< MailMessage > message, System::String &fromMarker) override |
| Writes the message to underlying storage stream. More... | |
| System::String | WriteMessage (System::SharedPtr< MailMessage > message) override |
| Writes the message to underlying storage stream. More... | |
Public Member Functions inherited from Aspose::Email::Storage::Mbox::MboxStorageWriter | |
| System::SharedPtr< System::IO::Stream > | get_BaseStream () const |
| Gets the base stream. More... | |
| void | Dispose () override |
| Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Aspose::Email::Storage::Mbox::MboxStorageWriter | |
| MboxStorageWriter (System::SharedPtr< System::IO::Stream > stream, bool leaveOpen) | |
| Initializes a new instance of the MboxStorageWriter class. More... | |
| MboxStorageWriter (System::String fileName, bool leaveOpen) | |
| Initializes a new instance of the MboxStorageWriter class. More... | |
| virtual void | Dispose (bool disposing) |
| Releases unmanaged and - optionally - managed resources More... | |
Represents mboxrd format storage writer, this format is being used by Thunderbird and other mail clients.
| Aspose::Email::Storage::Mbox::MboxrdStorageWriter::MboxrdStorageWriter | ( | System::SharedPtr< System::IO::Stream > | stream, |
| bool | leaveOpen | ||
| ) |
Initializes a new instance of the MboxrdStorageWriter class.
| stream | The stream. |
| leaveOpen | if set to true leaves the underlying stream open after disposing. |
| ArgumentNullException | If given stream is null. |
| Aspose::Email::Storage::Mbox::MboxrdStorageWriter::MboxrdStorageWriter | ( | System::String | fileName, |
| bool | leaveOpen | ||
| ) |
Initializes a new instance of the MboxrdStorageWriter class.
| fileName | Name of the file. |
| leaveOpen | if set to true leaves the underlying stream open after disposing. |
| ArgumentNullException | If filename is null or empty. |
|
overridevirtual |
Writes the message to underlying storage stream.
| message | The message to write to. |
Implements Aspose::Email::Storage::Mbox::MboxStorageWriter.
|
overridevirtual |
Writes the message to underlying storage stream.
| message | The message to write to. |
| fromMarker | Gets the From Marker while writing the MBox Storage file. |
Implements Aspose::Email::Storage::Mbox::MboxStorageWriter.