SmtpClient.Forward
Contents
[
Hide
]Forward(IConnection, string, string, MailMessage)
Forwards specified message to recipient
public void Forward(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. |
See Also
- interface IConnection
- class MailMessage
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
Forward(IConnection, string, MailAddressCollection, MailMessage)
Forwards specified message to recipient
public void Forward(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. |
See Also
- interface IConnection
- class MailAddressCollection
- class MailMessage
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
Forward(string, string, MailMessage)
Forwards specified message to recipient
public void Forward(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. |
See Also
- class MailMessage
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
Forward(string, MailAddressCollection, MailMessage)
Forwards specified message to recipient
public void Forward(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. |
See Also
- class MailAddressCollection
- class MailMessage
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
Forward(IConnection, string, MailAddressCollection, Stream)
Forwards specified message to recipient
public void Forward(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. |
See Also
- interface IConnection
- class MailAddressCollection
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email
Forward(string, MailAddressCollection, Stream)
Forwards specified message to recipient
public void Forward(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. |
See Also
- class MailAddressCollection
- class SmtpClient
- namespace Aspose.Email.Clients.Smtp
- assembly Aspose.Email