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

◆ SendMailFromCompleted()

static void System.Net.Mail.SendMailAsyncResult.SendMailFromCompleted ( IAsyncResult result)
inlinestaticprivate

Definition at line 68 of file SendMailAsyncResult.cs.

69 {
70 if (!result.CompletedSynchronously)
71 {
73 try
74 {
75 MailCommand.EndSend(result);
76 sendMailAsyncResult.SendToCollection();
77 }
78 catch (Exception result2)
79 {
80 sendMailAsyncResult.InvokeCallback(result2);
81 }
82 }
83 }
SendMailAsyncResult(SmtpConnection connection, MailAddress from, MailAddressCollection toCollection, bool allowUnicode, string deliveryNotify, AsyncCallback callback, object state)

References System.Net.Mail.SendMailAsyncResult.SendMailAsyncResult(), System.IAsyncResult.AsyncState, System.IAsyncResult.CompletedSynchronously, and System.Net.Mail.MailCommand.EndSend().