SaveMessageAsync
Pop3Client.SaveMessageAsync method (1 of 16)
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
Pop3Client.SaveMessageAsync method (2 of 16)
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
Pop3Client.SaveMessageAsync method (3 of 16)
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
Pop3Client.SaveMessageAsync method (4 of 16)
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
Pop3Client.SaveMessageAsync method (5 of 16)
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
Pop3Client.SaveMessageAsync method (6 of 16)
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
Pop3Client.SaveMessageAsync method (7 of 16)
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
Pop3Client.SaveMessageAsync method (8 of 16)
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
Pop3Client.SaveMessageAsync method (9 of 16)
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
Pop3Client.SaveMessageAsync method (10 of 16)
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
Pop3Client.SaveMessageAsync method (11 of 16)
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
Pop3Client.SaveMessageAsync method (12 of 16)
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
Pop3Client.SaveMessageAsync method (13 of 16)
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
Pop3Client.SaveMessageAsync method (14 of 16)
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
Pop3Client.SaveMessageAsync method (15 of 16)
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
Pop3Client.SaveMessageAsync method (16 of 16)
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