?
Solved

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

Posted on 2003-03-24
2
Medium Priority
?
210 Views
Last Modified: 2010-05-01
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.
0
Comment
Question by:InvisibleMan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
GivenRandy earned 100 total points
ID: 8199532
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
 

Author Comment

by:InvisibleMan
ID: 8199673
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question