Ejemplo n.º 1
0
 internal static string[] Send(SmtpConnection conn, string domain)
 {
     PrepareCommand(conn, domain);
     return(CheckResponse(ReadLinesCommand.Send(conn)));
 }
Ejemplo n.º 2
0
 internal static string[] EndSend(IAsyncResult result)
 {
     return(CheckResponse(ReadLinesCommand.EndSend(result)));
 }
Ejemplo n.º 3
0
 internal static LineInfo Send(SmtpConnection conn, string message)
 {
     PrepareCommand(conn, message);
     return(CheckResponse(ReadLinesCommand.Send(conn)));
 }
Ejemplo n.º 4
0
 internal static IAsyncResult BeginSend(SmtpConnection conn, string domain, AsyncCallback callback, object state)
 {
     PrepareCommand(conn, domain);
     return(ReadLinesCommand.BeginSend(conn, callback, state));
 }
Ejemplo n.º 5
0
 internal static IAsyncResult BeginSend(SmtpConnection conn, string type, string message, AsyncCallback callback, object state)
 {
     PrepareCommand(conn, type, message);
     return(ReadLinesCommand.BeginSend(conn, callback, state));
 }