Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Attach a File to an Email Sent Using CDOContent of Attach a File to an Email Sent Using CDO.vbsMD5 Hash: EDC0AFB2685773B0655D8A09649DA749 |
||
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "helpdesk@fabrikam.com" objEmail.To = "administrator@fabrikam.com" objEmail.Subject = "Server down" objEmail.Textbody = "Server1 is no longer accessible over the network." objEmail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 objEmail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = _ "smtpmailer" objEmail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 objEmail.Configuration.Fields.Update objEmail.Send | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |