コード例 #1
0
        public void SetCredentials(string host, int port, bool useSsl, string userName, string password)
        {
            Dispose();

            _config = new VQSmtpConfig
            {
                Host      = host,
                Port      = port,
                EnableSsl = useSsl,
                UserName  = userName,
                Password  = password,
            };
        }
コード例 #2
0
        public void SetCredentials(VQSmtpConfig model)
        {
            Dispose();

            _config = model;
        }