Thanks all for replying to my question.

I will give John Vieth's solution a shot as we want to do it in ASP. 

Thanks all again for the replies

-Mokles

   Date: Wed, 22 Dec 2004 08:59:16 -0600
   From: "John Vieth" <[EMAIL PROTECTED]>
Subject: RE: How to send email at scheduled time

I'm doing this.  It's easy.  Just write a very short, easy console
program using C#.NET or VB.NET and compile it using the free .NET
compiler or Visual Studio .NET.  What you end up with is an executable
that you can run like any windows executable, except this happens to run
in a command prompt window.  Just use "Scheduled Tasks" to schedule the
program to run whenever you want it to.

As for how to write the .NET program...  The same .NET Framework that is
available in ASP.NET pages is available to console programs, so the code
to send the e-mail message works the same way.  If you know ASP.NET,
then you can write a console program.  You can find a simple skeleton
for a console program by doing a Google search.  Then just add the code
for your specific task.  Any "Learning C#" book will tell you how to
write a console program, too.  The free compiler is available with the
.NET Framework and .NET SDK that are available for download from
Microsoft's website.

Hope that helps.

- Vieth

   ----- Original Message -----
>   From: moklesurr
>   To: [email protected]
>   Sent: Tuesday, December 21, 2004 2:29 PM
>   Subject: [ASP] How to send email at scheduled time
> 
> 
> 
> 
>   Hi All,
> 
>   We would like to send email at scheduled time everyday, possibly
>   using ASP. The email list and other information will come from a SQL
>   server database. 
> 
>   Will it be possible to do it with ASP? How to schedule an ASP task?
>   Thanks for shedding any light on it.
> 
>   -Mokles




This electronic message transmission contains information from Ontario Pork 
which may be confidential or privileged.  The information is intended to be for 
the use of the individual or entity named above.  If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is prohibited.

If you have received this electronic transmission in error, please notify us by 
telephone (1-877-668-7675) immediately.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to