stylishjm
-
Total Posts
:
1
- Scores: 0
-
Reward points
:
0
- Joined: 12/6/2011
-
Status: offline
|
Please help with attaching all files within a directory to an email.
Wednesday, December 07, 2011 3:06 AM
( permalink)
Hello, We have a scheduled task that runs a script which zips up some files in a directory, names the zip file, emails the zip to a predefined address then deletes the zip file. Here is the source code: http://pastebin.com/nA6cikGA What we need now, is for it to just skip the zipping part and attach all the files in the directory and send it. Can anyone please help?
|
|
|
|
59cobalt
-
Total Posts
:
979
- Scores: 91
-
Reward points
:
0
- Joined: 7/17/2011
-
Status: offline
|
Re:Please help with attaching all files within a directory to an email.
Wednesday, December 07, 2011 7:02 AM
( permalink)
objEmail.AddAttachment FILE_1
objEmail.AddAttachment FILE_2
...
|
|
|
|