From 7a90b62e67a2b69cee4ac1e1d1c9ca2c9db42600 Mon Sep 17 00:00:00 2001 From: John Mclaren Date: Sun, 24 Sep 2023 23:55:47 -0400 Subject: [PATCH] log sending email --- SimpleBackup.au3 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SimpleBackup.au3 b/SimpleBackup.au3 index 3f1c64e..424fa1d 100644 --- a/SimpleBackup.au3 +++ b/SimpleBackup.au3 @@ -132,8 +132,10 @@ Switch $Command $sSubject = StringStripWS($sSubject, 1) $sBody = $Result + _ConsoleWrite("Sending Email " & $sSubject) _INetSmtpMailCom(_KeyValue($aConfig, "SMTP_Server"), _KeyValue($aConfig, "SMTP_FromName"), _KeyValue($aConfig, "SMTP_FromAddress"), _ _KeyValue($aConfig, "SMTP_ToAddress"), $sSubject, $sBody, _KeyValue($aConfig, "SMTP_UserName"), _KeyValue($aConfig, "SMTP_Password")) + EndIf _Restic("forget --prune " & _KeyValue($aConfig, "Backup_Prune"))