Just drop the code in the file.
Thursday, 31. March 2011
Given the nature of the exercise files or VBScript can not include the cscript part, but in general you are always better here is not to ensure that it will be on your right. While performing the VBScript file, it should be just three parameters: e-mail address, subject and message body. VBS, and from there it can be done in batch files very easily. ***********Dim emailObj, emailConfig Set emailObj = CreateObject(”CDO.Message”) = emailObj.From fromEmail = emailObj.To Wscript.Arguments.Item(0) emailObj.Subject = Wscript.Arguments.Item(1) = emailObj.TextBody Wscript.Arguments.Item(2) If WScript.Arguments.Count> 3 Then emailObj.AddAttachment Wscript.Arguments.Item(3) End If emailConfig Set emailConfig.Fields(http://schemas .