BeginSend

BeginSend (1 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(const System::ArrayPtr< System::SharedPtr < MailMessage >> & messages)
ParameterDescription
messagesThe array of MailMessage that represents an email-messages to send.

BeginSend (2 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, const System::ArrayPtr< System::SharedPtr < MailMessage >> & messages)
ParameterDescription
connectionConnection to a server
messagesThe array of MailMessage that represents an email-messages to send.

BeginSend (3 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, System::SharedPtr < MailMessage > message)
ParameterDescription
connectionConnection to a server
messageRepresents an e-mail message

BeginSend (4 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, System::SharedPtr < MailMessage > message, System::AsyncCallback callback)
ParameterDescription
connectionConnection to a server
messageRepresents an e-mail message
callbackReferences a method to be called when a corresponding asynchronous operation completes.

BeginSend (5 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, System::SharedPtr < MailMessage > message, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
ParameterDescription
connectionConnection to a server
messageRepresents an e-mail message
callbackReferences a method to be called when a corresponding asynchronous operation completes.
stateThe state.

BeginSend (6 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages)
ParameterDescription
connectionConnection to a server
messagesThe array of MailMessage that represents an email-messages to send.

BeginSend (7 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages, System::AsyncCallback callback)
ParameterDescription
connectionConnection to a server
messagesThe array of MailMessage that represents an email-messages to send.
callbackReferences a method to be called when a corresponding asynchronous operation completes.

BeginSend (8 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
ParameterDescription
connectionConnection to a server
messagesThe array of MailMessage that represents an email-messages to send.
callbackReferences a method to be called when a corresponding asynchronous operation completes.
stateThe state.

BeginSend (9 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages, System::EventHandler< System::SharedPtr < MailMessageEventArgs >> messageSentDelegate)
ParameterDescription
connectionConnection to a server
messagesThe array of MailMessage that represents an email-messages to send.
messageSentDelegateReferences a method to be called when a message has been sent.

BeginSend (10 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages, System::EventHandler< System::SharedPtr < MailMessageEventArgs >> messageSentDelegate, System::AsyncCallback callback)
ParameterDescription
connectionConnection to a server
messagesThe array of MailMessage that represents an email-messages to send.
messageSentDelegateReferences a method to be called when a message has been sent.
callbackReferences a method to be called when a corresponding asynchronous operation completes.

BeginSend (11 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages, System::EventHandler< System::SharedPtr < MailMessageEventArgs >> messageSentDelegate, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
ParameterDescription
connectionConnection to a server
messagesThe array of MailMessage that represents an email-messages to send.
messageSentDelegateReferences a method to be called when a message has been sent.
callbackReferences a method to be called when a corresponding asynchronous operation completes.
stateThe state.

BeginSend (12 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, System::String from, System::String recipients, System::String subject, System::String body)
ParameterDescription
connectionConnection to a server
fromA String that contains the address of message sender.
recipientsA String that contains the address of recipients.
subjectA subject of message.
bodyA body of message.

BeginSend (13 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, System::String from, System::String recipients, System::String subject, System::String body, System::AsyncCallback callback)
ParameterDescription
connectionConnection to a server
fromA String that contains the address of message sender.
recipientsA String that contains the address of recipients.
subjectA subject of message.
bodyA body of message.
callbackReferences a method to be called when a corresponding asynchronous operation completes.

BeginSend (14 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < IConnection > connection, System::String from, System::String recipients, System::String subject, System::String body, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
ParameterDescription
connectionConnection to a server
fromA String that contains the address of message sender.
recipientsA String that contains the address of recipients.
subjectA subject of message.
bodyA body of message.
callbackReferences a method to be called when a corresponding asynchronous operation completes.
stateThe state.

BeginSend (15 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < MailMessage > message)
ParameterDescription
messageRepresents an e-mail message

BeginSend (16 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < MailMessage > message, System::AsyncCallback callback)
ParameterDescription
messageRepresents an e-mail message
callbackReferences a method to be called when a corresponding asynchronous operation completes.

BeginSend (17 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < MailMessage > message, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
ParameterDescription
messageRepresents an e-mail message
callbackReferences a method to be called when a corresponding asynchronous operation completes.
stateThe state.

BeginSend (18 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages)
ParameterDescription
messagesThe array of MailMessage that represents an email-messages to send.

BeginSend (19 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages, System::AsyncCallback callback)
ParameterDescription
messagesThe array of MailMessage that represents an email-messages to send.
callbackReferences a method to be called when a corresponding asynchronous operation completes.

BeginSend (20 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
ParameterDescription
messagesThe array of MailMessage that represents an email-messages to send.
callbackReferences a method to be called when a corresponding asynchronous operation completes.
stateThe state.

BeginSend (21 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages, System::EventHandler< System::SharedPtr < MailMessageEventArgs >> messageSentDelegate)
ParameterDescription
messagesThe array of MailMessage that represents an email-messages to send.
messageSentDelegateReferences a method to be called when a message has been sent.

BeginSend (22 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages, System::EventHandler< System::SharedPtr < MailMessageEventArgs >> messageSentDelegate, System::AsyncCallback callback)
ParameterDescription
messagesThe array of MailMessage that represents an email-messages to send.
messageSentDelegateReferences a method to be called when a message has been sent.
callbackReferences a method to be called when a corresponding asynchronous operation completes.

BeginSend (23 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages, System::EventHandler< System::SharedPtr < MailMessageEventArgs >> messageSentDelegate, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
ParameterDescription
messagesThe array of MailMessage that represents an email-messages to send.
messageSentDelegateReferences a method to be called when a message has been sent.
callbackReferences a method to be called when a corresponding asynchronous operation completes.
stateThe state.

BeginSend (24 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::String from, System::String recipients, System::String subject, System::String body)
ParameterDescription
fromA String that contains the address of message sender.
recipientsA String that contains the address of recipients.
subjectA subject of message.
bodyA body of message.

BeginSend (25 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::String from, System::String recipients, System::String subject, System::String body, System::AsyncCallback callback)
ParameterDescription
fromA String that contains the address of message sender.
recipientsA String that contains the address of recipients.
subjectA subject of message.
bodyA body of message.
callbackReferences a method to be called when a corresponding asynchronous operation completes.

BeginSend (26 of 26)

Please note: this method is used only for the .NET framework with versions earlier than 4.5.

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSend(System::String from, System::String recipients, System::String subject, System::String body, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
ParameterDescription
fromA String that contains the address of message sender.
recipientsA String that contains the address of recipients.
subjectA subject of message.
bodyA body of message.
callbackReferences a method to be called when a corresponding asynchronous operation completes.
stateThe state.