Browse Source

Merge pull request #21 from Elderry/patch-1

Fix env variable
Miodrag Milić 7 years ago
parent
commit
f8714ab9a9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      au/update_all.ps1

+ 1 - 1
au/update_all.ps1

@@ -43,7 +43,7 @@ $Options = [ordered]@{
                 UserName    = $Env:mail_user
                 Password    = $Env:mail_pass
                 Port        = $Env:mail_port
-                EnableSsl   = $Env:enable_ssl -eq 'true'
+                EnableSsl   = $Env:mail_enablessl -eq 'true'
                 Attachments = "$PSScriptRoot\update_info.xml"
                 UserMessage = ''
                 SendAlways  = $false                        #Send notifications every time