Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/EWatch/EWatch/Actions/ActionSmtp.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 125 by bananajinn, Tue Aug 1 09:50:24 2023 UTC revision 126 by bananajinn, Tue Aug 1 11:39:52 2023 UTC
# Line 117  namespace EWatch.Actions Line 117  namespace EWatch.Actions
117                          var pw = DecryptPassword(Password);                          var pw = DecryptPassword(Password);
118                          using (var sender = new EMailSender(_serverHost, _serverPort,                          using (var sender = new EMailSender(_serverHost, _serverPort,
119                                                      Protection, AuthMethod,                                                      Protection, AuthMethod,
120                                                      UserID, Password, null)) {                                                      UserID, pw, null)) {
121                                  sender.Send(subject, body,                                  sender.Send(subject, body,
122                                          new MailAddress(FromAddress),                                          new MailAddress(FromAddress),
123                                          ToAddress.Split(',').Select(x => new MailAddress(x)).ToArray(),                                          ToAddress.Split(',').Select(x => new MailAddress(x)).ToArray(),

Legend:
Removed from v.125  
changed lines
  Added in v.126

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26