Discuss our other products here. Get help with installation and running, notify us of bugs, request new features and enhancements.
Moderators: DataMystic Support, Moderators
- Site Admin
- Posts: 2197
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
Here is a sample vbscript to sent an email - save it as 'send-email.vbs' and set FileWatcher's command field to point to this file.
Code: Select all
'Set a reference to the arguments
Set objArgs = Wscript.Arguments
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "email@example.com"
objEmail.To = "firstname.lastname@example.org"
objEmail.Subject = "FileWatcher file attached"
objEmail.Textbody = "Please process it ASAP"
for i = 1 to objArgs.count
objEmail.AddAttachment( objArgs(i) )
set objEmail = Nothing
Set objArgs = Nothing
- (478 Bytes) Downloaded 464 times
Return to “FileWatcher, DirDate and other Support”
Who is online
Users browsing this forum: Baidu [Spider] and 1 guest