![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Send Email from a Script
|
||
' Description: Demonstration script that uses CDO to send email from a computer where the SMTP Service has been installed.
Set objEmail = CreateObject("CDO.Message") objEmail.From = "monitor1@fabrikam.com" objEmail.To = "admin1@fabrikam.com" objEmail.Subject = "Atl-dc-01 down" objEmail.Textbody = "Atl-dc-01 is no longer accessible over the network." objEmail.Send | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |