internal static IAsyncResult BeginSend(SmtpConnection conn, string to, AsyncCallback callback, object state) { PrepareCommand(conn, to); return(CheckCommand.BeginSend(conn, callback, state)); }
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)); }