Skip to content

Commit

Permalink
Small typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Jun 20, 2021
1 parent 1fdc07f commit 10f2b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Public/Send-EmailMessage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@
$secStringPassword = ConvertTo-SecureString -ErrorAction Stop -String $Password
$SmtpCredentials = [System.Management.Automation.PSCredential]::new($UserName, $secStringPassword)
} catch {
Write-Warning "Send-EmailMessage - Couldn't translate secure string to password. Error $(_.Exception.Message)"
Write-Warning "Send-EmailMessage - Couldn't translate secure string to password. Error $($_.Exception.Message)"
return
}
} elseif ($Username -and $Password) {
Expand Down

0 comments on commit 10f2b14

Please sign in to comment.