SmtpClient.ForwardAsync
ForwardAsync(IConnection, string, string, MailMessage)
Forwards specified message to recipient
public Task ForwardAsync(IConnection connection, string sender, string recipient,
MailMessage message)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sender | String | Sender of the forwarded message. |
recipient | String | Recipient of the forwarded message. |
message | MailMessage | The message for a forwarding. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class MailMessage
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
ForwardAsync(IConnection, string, MailAddressCollection, MailMessage)
Forwards specified message to recipient
public Task ForwardAsync(IConnection connection, string sender, MailAddressCollection recipients,
MailMessage message)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sender | String | Sender of the forwarded message. |
recipients | MailAddressCollection | Recipients of the forwarded message. |
message | MailMessage | The message for a forwarding. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class MailAddressCollection
- class MailMessage
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
ForwardAsync(string, string, MailMessage)
Forwards specified message to recipient
public Task ForwardAsync(string sender, string recipient, MailMessage message)
Parameter | Type | Description |
---|---|---|
sender | String | Sender of the forwarded message. |
recipient | String | Recipient of the forwarded message. |
message | MailMessage | The message for a forwarding. |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
ForwardAsync(string, MailAddressCollection, MailMessage)
Forwards specified message to recipient
public Task ForwardAsync(string sender, MailAddressCollection recipients, MailMessage message)
Parameter | Type | Description |
---|---|---|
sender | String | Sender of the forwarded message. |
recipients | MailAddressCollection | Recipients of the forwarded message. |
message | MailMessage | The message for a forwarding. |
Return Value
Task object, with delegate for this operation
See Also
- class MailAddressCollection
- class MailMessage
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
ForwardAsync(IConnection, string, MailAddressCollection, Stream)
Forwards specified message to recipient
public Task ForwardAsync(IConnection connection, string sender, MailAddressCollection recipients,
Stream messageStream)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sender | String | Sender of the forwarded message. |
recipients | MailAddressCollection | Recipients of the forwarded message. |
messageStream | Stream | The stream that represents message in eml format. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class MailAddressCollection
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
ForwardAsync(string, MailAddressCollection, Stream)
Forwards specified message to recipient
public Task ForwardAsync(string sender, MailAddressCollection recipients, Stream messageStream)
Parameter | Type | Description |
---|---|---|
sender | String | Sender of the forwarded message. |
recipients | MailAddressCollection | Recipients of the forwarded message. |
messageStream | Stream | The stream that represents message in eml format. |
Return Value
Task object, with delegate for this operation
See Also
- class MailAddressCollection
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
ForwardAsync(IConnection, string, string, MailMessage, CancellationToken)
Forwards specified message to recipient
public Task ForwardAsync(IConnection connection, string sender, string recipient,
MailMessage message, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sender | String | Sender of the forwarded message. |
recipient | String | Recipient of the forwarded message. |
message | MailMessage | The message for a forwarding. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class MailMessage
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
ForwardAsync(IConnection, string, MailAddressCollection, MailMessage, CancellationToken)
Forwards specified message to recipient
public Task ForwardAsync(IConnection connection, string sender, MailAddressCollection recipients,
MailMessage message, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sender | String | Sender of the forwarded message. |
recipients | MailAddressCollection | Recipients of the forwarded message. |
message | MailMessage | The message for a forwarding. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class MailAddressCollection
- class MailMessage
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
ForwardAsync(string, string, MailMessage, CancellationToken)
Forwards specified message to recipient
public Task ForwardAsync(string sender, string recipient, MailMessage message,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
sender | String | Sender of the forwarded message. |
recipient | String | Recipient of the forwarded message. |
message | MailMessage | The message for a forwarding. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
ForwardAsync(string, MailAddressCollection, MailMessage, CancellationToken)
Forwards specified message to recipient
public Task ForwardAsync(string sender, MailAddressCollection recipients, MailMessage message,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
sender | String | Sender of the forwarded message. |
recipients | MailAddressCollection | Recipients of the forwarded message. |
message | MailMessage | The message for a forwarding. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class MailAddressCollection
- class MailMessage
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
ForwardAsync(IConnection, string, MailAddressCollection, Stream, CancellationToken)
Forwards specified message to recipient
public Task ForwardAsync(IConnection connection, string sender, MailAddressCollection recipients,
Stream messageStream, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sender | String | Sender of the forwarded message. |
recipients | MailAddressCollection | Recipients of the forwarded message. |
messageStream | Stream | The stream that represents message in eml format. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class MailAddressCollection
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
ForwardAsync(string, MailAddressCollection, Stream, CancellationToken)
Forwards specified message to recipient
public Task ForwardAsync(string sender, MailAddressCollection recipients, Stream messageStream,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
sender | String | Sender of the forwarded message. |
recipients | MailAddressCollection | Recipients of the forwarded message. |
messageStream | Stream | The stream that represents message in eml format. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class MailAddressCollection
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email