示例#1
0
        public void SendMessage(IQueryable <Emails> emails, Smtp selectedSmtp)
        {
            if (IsFillError())
            {
                return;
            }
            AuthorizationWindow authWindow = new AuthorizationWindow();

            if (authWindow.ShowDialog() == true)
            {
                _sendService = new EmailSendServiceClass(selectedSmtp, authWindow.authSettings, mailSettings);
                _sendService.SendMails(emails);
            }
        }
示例#2
0
 public EmailSendServiceClass(Smtp smtp, AuthSettings auth, MailSettings mail)
 {
     _smtp = smtp;
     _auth = auth;
     _mail = mail;
 }
示例#3
0
 partial void UpdateSmtp(Smtp instance);
示例#4
0
 partial void DeleteSmtp(Smtp instance);
示例#5
0
 partial void InsertSmtp(Smtp instance);