Esempio n. 1
0
 internal static string[] Send(SmtpConnection conn, string domain)
 {
     PrepareCommand(conn, domain);
     return(CheckResponse(ReadLinesCommand.Send(conn)));
 }
Esempio n. 2
0
 internal static string[] EndSend(IAsyncResult result)
 {
     return(CheckResponse(ReadLinesCommand.EndSend(result)));
 }
Esempio n. 3
0
 internal static LineInfo Send(SmtpConnection conn, string message)
 {
     PrepareCommand(conn, message);
     return(CheckResponse(ReadLinesCommand.Send(conn)));
 }
Esempio n. 4
0
 internal static IAsyncResult BeginSend(SmtpConnection conn, string domain, AsyncCallback callback, object state)
 {
     PrepareCommand(conn, domain);
     return(ReadLinesCommand.BeginSend(conn, callback, state));
 }
Esempio 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));
 }