Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 20th, 2004, 01:32 PM
Authorized User
 
Join Date: Aug 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Automatic Email send

Hi;
  i m working on TimeSheet application. i want on specific date email
send to Supervisor(approver) for approval. for exampl one user submit his timesheet for the date approval is 28/09/2004, an email will send to approver on 28/09/2004 automatically. Have it is possible.
Kindly help me I will be very thank full to u

                              Regards
                            Qadeer Ahmad

qadeeralvi
__________________
qadeeralvi
 
Old September 20th, 2004, 01:53 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Exactly what part of it are you having trouble with. Please post some code, errors, etc.

J
 
Old September 21st, 2004, 12:57 AM
Authorized User
 
Join Date: Aug 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i want to send email on specific date. i have no idea how mail send automatical. give me a code which send email on specific date.

qadeeralvi
 
Old September 27th, 2004, 11:25 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You need to write something that can be scheduled. This can be done in .NET if you choose. .NET does not have a scheduling feature. For that you need to depend on the operating system. The windows task scheduler would work. In this case, you would need to write a task that happens on a periodic basis (every day/hour/etc.). Then the actual program that runs can check in the database for those items that need to be emailed that day.
 
Old October 8th, 2004, 02:05 AM
Friend of Wrox
 
Join Date: Feb 2004
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I can suggest you two options for this,

1) YOu can download Microsoft Scheduler component in the following link and use in your application to schedule mail sending

http://www.gotdotnet.com/Community/U...6-bbdcf1ceb0d1

2) You can create a windwos service application that can use timer to check for the specified time and send mails.

Let me know if you want more about this.




It is not how much we do,
but how much love we put in the doing.

-Mother Theresa
 
Old January 31st, 2005, 09:11 PM
Registered User
 
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there any way to do this scheduling, for example, every midnight, without using a terminal to trigger it? I´ve got a SQL db and I need to send mails automatically every night for certain clients of my business....How´d I do that there in the remote server?

Thanx,

Lester






Similar Threads
Thread Thread Starter Forum Replies Last Post
Send an automatic email alert Based on Date/time lakshmi_annayappa ASP.NET 1.0 and 1.1 Basics 3 May 28th, 2007 12:07 AM
Sending automatic email by date field Ca_Chaz Access 2 March 31st, 2006 03:24 AM
send Email automatic vickyj Classic ASP Professional 3 March 14th, 2005 08:40 AM
Automatic email and Random function wasaan Classic ASP Basics 1 June 25th, 2003 01:41 AM
Automatic email capability wasaan Classic ASP Databases 1 June 24th, 2003 02:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.