Send Recurring Emails

Is there a way we can specify to send an email to a specific address without user intervention.  For example:
If I need to order a roll of paper towels every week on Tuesdays at 10:00 am every week.  I have the body of the email, the receipients email.  Is there a way I can just send this email based upon the schedule given without user intervention every time an email has to go out?
Who is Participating?
TheNigeConnect With a Mentor Commented:
you don't have to make a vb exe.....just make a vbscript file...using the same code much like you would in regurlar asp....but they you need to use the windows scripting host so that you can run the vbscript in the command prompt.  You will then have a file named something like thisfile.vbs.  Use a program scheduler to run that file....

look up the windows scripting host on the MSDN site for more help
If you have Sql Server, I would use sql to send an email in this way you can create a job and schedule it.
amira123Author Commented:
I don't have a ssql server ... is there another way?
Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

you can create a vbscript that does them mail then schedule it with the windows program scheduler
He is right, write a exe vb application and put it in task schedule in windows. use CDO or cdont for email
amira123Author Commented:
"He is right, write a exe vb application and put it in task schedule in windows. use CDO or cdont for

How do I do that?  I am not fimiliar with VB.
Michel SakrCommented:
How do I schedule ASP files?

Use the AT command and Windows Scripting Host to schedule a VBS file at certain intervals.
First, change the ASP to a VBS file. This is accomplished by (1) changing the extension to VBS; (2) changing all server.createobject calls to createobject; and, (3) removing all <%%> delimiters and any browser-destined code (for example, response.write statement or client-side HTML). I didn't run into any further complications, but YMMV.
You store the VBS file in the filesystem, and use the AT command to schedule it (this actually schedules its execution with NT's schedule service). At a command prompt, you can use AT by itself to see a list of tasks currently in the schedule. You can use AT /? to find out all its syntax possibilities.
For example, to get a file to run every weekday at 9:00 am, I launch this batch file (the first line clears existing entries):
    at /delete /y
    at 9:00 /every:m,t,w,th,f d:\net\shared\getdata.vbs
Notice there is no web server involved; the file is accessed directly through the file system. Once I got over the "a user has to be logged in" and "the tasks have to be reset when rebooted" hurdles (both of which I believe are problems with the particular machine that is not under our control), all has been running fine for me.

this is for vbs.. if using a VB put simply a counter in it or simply check th time.. if it's between certain values you fire your event..

with this use a mail component to email "email records" from the db..

[ Main Category: e-mail | Secondary Category: components ]

How do I send e-mail from ASP?

There are several components that enable you to do this. You may already have one, if you have an SMTP server installed alongside IIS - it's called CDONTS. Here is the documentation and an article for CDONTS: 
There are also several other components available (if I missed any, let us know)
    Genusa's AspMail 
    Dundas Mailer 
    w3 Jmail 
    HTMLMailer / HTMLMailerPlus 
    Mabry Mail 
    AB Active X Mailer 

Michel SakrCommented:
what i said differently?? amir (a) explain please..
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.