Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SendToCollection()

void System.Net.Mail.SendMailAsyncResult.SendToCollection ( )
inlineprivate

Definition at line 85 of file SendMailAsyncResult.cs.

86 {
88 {
90 if (!multiAsyncResult.CompletedSynchronously)
91 {
92 return;
93 }
94 if (!RecipientCommand.EndSend(multiAsyncResult, out var response))
95 {
96 _failedRecipientExceptions.Add(new SmtpFailedRecipientException(_connection.Reader.StatusCode, _toCollection[_toIndex - 1].GetSmtpAddress(_allowUnicode), response));
97 }
98 }
99 SendData();
100 }
void Add(TKey key, TValue value)
static readonly AsyncCallback s_sendToCollectionCompleted
readonly MailAddressCollection _toCollection
readonly List< SmtpFailedRecipientException > _failedRecipientExceptions
SmtpReplyReaderFactory Reader

References System.Net.Mail.SendMailAsyncResult._allowUnicode, System.Net.Mail.SendMailAsyncResult._connection, System.Net.Mail.SendMailAsyncResult._deliveryNotify, System.Net.Mail.SendMailAsyncResult._failedRecipientExceptions, System.Net.Mail.SendMailAsyncResult._toCollection, System.Net.Mail.SendMailAsyncResult._toIndex, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Net.Mail.RecipientCommand.BeginSend(), System.Collections.ObjectModel.Collection< T >.Count, System.Net.Mail.RecipientCommand.EndSend(), System.Net.Mail.SmtpConnection.Reader, System.Net.Mail.SendMailAsyncResult.s_sendToCollectionCompleted, System.Net.Mail.SendMailAsyncResult.SendData(), and System.Net.Mail.SmtpReplyReaderFactory.StatusCode.

Referenced by System.Net.Mail.SendMailAsyncResult.SendMailFrom().