Answers for "powershell send-mailmessage authentication"

0

powershell send-mailmessage authentication

Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject "Something interesting just happened" -Body "Here's the details about the interesting thing" -SmtpServer smtp.myisp.net -Port 587 -Credential (New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "[email protected]",(Get-Content -Path [email protected] | ConvertTo-SecureString))
Posted by: Guest on April-14-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language