Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepowershell
#--------- Email function parms  -------------------------------
[string] $global:SMTPServer = "Smtp.office365.com"
[int]    $global:SMTPPort = 587
[bool]   $global:SMTPUseSSL = $true
[string] $global:SMTPUser = xxxx@xxxxx.com      # For anonymous access set to empty string (")
[string] $global:SMTPPassword = 'xxxxxxxxx'

More on the static configuration / static parms file at DSA AD Static Parameters

Send-MailMessage (PowerShell commandlet)

...