internal static string[] Send(SmtpConnection conn, string domain) { PrepareCommand(conn, domain); return(CheckResponse(ReadLinesCommand.Send(conn))); }
internal static string[] EndSend(IAsyncResult result) { return(CheckResponse(ReadLinesCommand.EndSend(result))); }
internal static LineInfo Send(SmtpConnection conn, string message) { PrepareCommand(conn, message); return(CheckResponse(ReadLinesCommand.Send(conn))); }
internal static IAsyncResult BeginSend(SmtpConnection conn, string domain, AsyncCallback callback, object state) { PrepareCommand(conn, domain); return(ReadLinesCommand.BeginSend(conn, callback, state)); }
internal static IAsyncResult BeginSend(SmtpConnection conn, string type, string message, AsyncCallback callback, object state) { PrepareCommand(conn, type, message); return(ReadLinesCommand.BeginSend(conn, callback, state)); }