Login
|
Forgot Your Password?
Adsolut: Mail verzenden met Powershell (Testmail)
Printable View
«
Go Back
Article Information
Article Details
detail information
URL
Article Information
Source Country Code
BE
Article Details
Details
$MyEmail = "
verzend@mail.be
"
$SMTP= "
smtp.server.be
"
$To = "
Ontvangst@mail.be
"
$Subject = "Test Mail"
$Body = "Test Mail - Adsolut"
$Creds = (Get-Credential -Credential "$MyEmail")
Start-Sleep 2
Send-MailMessage -To $to -From $MyEmail -Subject $Subject -Body $Body -SmtpServer $SMTP -Credential $Creds -UseSsl -Port 587 -DeliveryNotificationOption never
Opslaan als:
.ps1
detail information
Article Created Date
19/11/2021 17:32
Title
Adsolut: Mail verzenden met Powershell (Testmail)
Article Total View Count
231
URL
URL Name
Mail-verzenden-met-Powershell-Testmail
Powered by