$user = "lang.wang@slbcopower.com" $PWor […]
邮件
在低版本的PowerShell上发送邮件可以借助.NET的system.net.mail.smtpclient类。在高版本的PowerShell中可以借助现成的命令:Send-MailMessage。我在尝试使用Hotmail时,遇到了一个错误:The SMTP server requires a secure connection or the client was not authenticated
PowerShell使用Hotmail账号发送邮件

当你通过类似Mailto:链接发送邮件,此时邮件客户端就是MAPI客户端。如果要 […]
Powershell查询默认MAPI客户端
你可以使用Send-MailMessage发送邮件,但是你想从你默认MAPI客户 […]