Exemplo n.º 1
0
        internal static bool Send(SmtpConnection conn, string to, out string response)
        {
            PrepareCommand(conn, to);
            SmtpStatusCode statusCode = CheckCommand.Send(conn, out response);

            return(CheckResponse(statusCode, response));
        }
Exemplo n.º 2
0
        internal static void Send(SmtpConnection conn, byte[] command, MailAddress from, bool allowUnicode)
        {
            PrepareCommand(conn, command, from, allowUnicode);
            string         response;
            SmtpStatusCode statusCode = CheckCommand.Send(conn, out response);

            CheckResponse(statusCode, response);
        }
Exemplo n.º 3
0
        internal static void Send(SmtpConnection conn)
        {
            PrepareCommand(conn);
            string         response;
            SmtpStatusCode statusCode = CheckCommand.Send(conn, out response);

            CheckResponse(statusCode, response);
        }