[英]I do not have outlook installed in my Window Machine. How to send mail using powershell?
I wrote one script using powershell for my work and I want to send the output every time the script run.我使用 powershell 为我的工作编写了一个脚本,我想在每次脚本运行时发送输出。 Problem is that I do not have Outlook installed on my Window machine.
问题是我的 Window 机器上没有安装 Outlook。 Is there a way to send email using powershell without having outlook installed on Window Machine ?
有没有办法使用 powershell 发送电子邮件而无需在 Window Machine 上安装 Outlook? I am using powershell v2 /v3 .
我正在使用 powershell v2 /v3 。
you can use the send-mailmessage
commandlet to send emails from a powershell script.您可以使用
send-mailmessage
commandlet 从 powershell 脚本发送电子邮件。 No need for a dedicated mail client.无需专用邮件客户端。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.