Met auth:
$msolcred = get-credential | save the credential of from address
Send-MailMessage –From user@domain.com –To user@whatever.com –Subject “Test Email” –Body “Test SMTP Relay Service” -SmtpServer smtp.office365.com -Credential $msolcred -UseSsl -Port 587
Zonder auth:
Send-MailMessage –From user@domain.com –To user@domain.com –Subject “Test Email” –Body “Test SMTP Relay Service” -SmtpServer domain-nl.mail.protection.outlook.com
Test email Office365
Who is online
Users browsing this forum: No registered users and 3 guests