| Revision | 126 (tree) |
|---|---|
| Time | 2023-08-01 20:39:52 |
| Author | |
パスワードを平文で書かなくていいようにしたいの修正
| @@ -117,7 +117,7 @@ | ||
| 117 | 117 | var pw = DecryptPassword(Password); |
| 118 | 118 | using (var sender = new EMailSender(_serverHost, _serverPort, |
| 119 | 119 | Protection, AuthMethod, |
| 120 | - UserID, Password, null)) { | |
| 120 | + UserID, pw, null)) { | |
| 121 | 121 | sender.Send(subject, body, |
| 122 | 122 | new MailAddress(FromAddress), |
| 123 | 123 | ToAddress.Split(',').Select(x => new MailAddress(x)).ToArray(), |
| @@ -16,5 +16,7 @@ | ||
| 16 | 16 | ren EWatch.config.json EWatch.config.json.example |
| 17 | 17 | ren log4net.config.xml log4net.config.xml.example |
| 18 | 18 | popd |
| 19 | - | |
| 19 | +pushd %WORKDIR% | |
| 20 | +tar -a -c -f EWatch-2.0.x.zip EWatch | |
| 21 | +popd | |
| 20 | 22 | pause |
| \ No newline at end of file |