28 July 2026
Send email using PowerShell
Send-MailMessage -SmtpServer mail.example.com -Port 25 -From 'jsmith@adatum.com' -To 'alice@contoso.com' -Subject 'Test email subject' -Body 'test content'
Add
-UseSsl
to use SSL.
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment