Pop3Client.SaveMessageAsync
SaveMessageAsync(IConnection, string, Stream)
Fetches and save the message as a stream
public Task SaveMessageAsync(IConnection connection, string uniqueId, Stream outputStream)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The unique Id of the message |
outputStream | Stream | Stream where message will be saved |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(IConnection, string, string)
Fetches and save the message into a file
public Task SaveMessageAsync(IConnection connection, string uniqueId, string fileName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The unique Id of the message |
fileName | String | File name for message |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(IConnection, int, Stream)
Fetches and save the message as a stream
public Task SaveMessageAsync(IConnection connection, int sequenceNumber, Stream outputStream)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of the message |
outputStream | Stream | Stream where message will be saved |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(IConnection, int, string)
Fetches and save the message into a file
public Task SaveMessageAsync(IConnection connection, int sequenceNumber, string fileName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of the message |
fileName | String | File name for message |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(string, Stream)
Fetches and save the message as a stream
public Task SaveMessageAsync(string uniqueId, Stream outputStream)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The unique Id of the message |
outputStream | Stream | Stream where message will be saved |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(string, string)
Fetches and save the message into a file
public Task SaveMessageAsync(string uniqueId, string fileName)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The unique Id of the message |
fileName | String | File name for message |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(int, Stream)
Fetches and save the message as a stream
public Task SaveMessageAsync(int sequenceNumber, Stream outputStream)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of the message |
outputStream | Stream | Stream where message will be saved |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(int, string)
Fetches and save the message into a file
public Task SaveMessageAsync(int sequenceNumber, string fileName)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of the message |
fileName | String | File name for message |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(IConnection, string, Stream, CancellationToken)
Fetches and save the message as a stream
public Task SaveMessageAsync(IConnection connection, string uniqueId, Stream outputStream,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The unique Id of the message |
outputStream | Stream | Stream where message will be saved |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(IConnection, string, string, CancellationToken)
Fetches and save the message into a file
public Task SaveMessageAsync(IConnection connection, string uniqueId, string fileName,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The unique Id of the message |
fileName | String | File name for message |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(IConnection, int, Stream, CancellationToken)
Fetches and save the message as a stream
public Task SaveMessageAsync(IConnection connection, int sequenceNumber, Stream outputStream,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of the message |
outputStream | Stream | Stream where message will be saved |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(IConnection, int, string, CancellationToken)
Fetches and save the message into a file
public Task SaveMessageAsync(IConnection connection, int sequenceNumber, string fileName,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of the message |
fileName | String | File name for message |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(string, Stream, CancellationToken)
Fetches and save the message as a stream
public Task SaveMessageAsync(string uniqueId, Stream outputStream, CancellationToken token)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The unique Id of the message |
outputStream | Stream | Stream where message will be saved |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(string, string, CancellationToken)
Fetches and save the message into a file
public Task SaveMessageAsync(string uniqueId, string fileName, CancellationToken token)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The unique Id of the message |
fileName | String | File name for message |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(int, Stream, CancellationToken)
Fetches and save the message as a stream
public Task SaveMessageAsync(int sequenceNumber, Stream outputStream, CancellationToken token)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of the message |
outputStream | Stream | Stream where message will be saved |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
SaveMessageAsync(int, string, CancellationToken)
Fetches and save the message into a file
public Task SaveMessageAsync(int sequenceNumber, string fileName, CancellationToken token)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of the message |
fileName | String | File name for message |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email