Best Way to Auto Send an Email through VBScript VBS file or EXE

Hello all.  What is the best way to auto send an email?  I want to write a script that will check through all folders in a directory and then auto email based on if a file is found.  I am running Microsoft Exchange with Outlook on each machine.  I am also running IIS on the server.  Can anyone give me a good example and tell me the best way to handle this with Exchange and Outlook?  Thanks all.
InvisibleManAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
GivenRandyConnect With a Mentor Commented:
Send email using SMTP.  Full sample with code at:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=960

To send an email with attachments and a progress bar:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=4796
0
 
InvisibleManAuthor Commented:
I dont think that way is the best way to handle this.  I need to have something run on a timer that is why I am thinking VBS file run on task scheduler.  That example is pretty large.  Is there anything simpler to create to handle this.  
0
All Courses

From novice to tech pro — start learning today.