从批处理文件发送邮件
问题描述:
我们有一个脚本来备份文件。备份操作结束后,我们会以电子邮件通知方式向我们的部分电子邮件地址发送报告。
We have a script to backup files. After the backup operation is over, we would like to send a report as an email notification to some of our email addresses.
如何做到这一点?
答
Blat :
blat -to user@example.com -server smtp.example.com -f batch_script@example.com -subject "subject" -body "body"