Exemple #1
0
        internal static void EndSend(IAsyncResult result)
        {
            string         response;
            SmtpStatusCode statusCode = (SmtpStatusCode)CheckCommand.EndSend(result, out response);

            CheckResponse(statusCode, response);
        }
Exemple #2
0
        internal static bool EndSend(IAsyncResult result, out string response)
        {
            SmtpStatusCode statusCode = (SmtpStatusCode)CheckCommand.EndSend(result, out response);

            return(CheckResponse(statusCode, response));
        }