예제 #1
0
 internal static IAsyncResult BeginSend(SmtpConnection conn, string to, AsyncCallback callback, object state)
 {
     PrepareCommand(conn, to);
     return(CheckCommand.BeginSend(conn, callback, state));
 }
예제 #2
0
 internal static IAsyncResult BeginSend(SmtpConnection conn, byte[] command, MailAddress from,
                                        bool allowUnicode, AsyncCallback callback, object state)
 {
     PrepareCommand(conn, command, from, allowUnicode);
     return(CheckCommand.BeginSend(conn, callback, state));
 }