473,566 Members | 3,307 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Automated email based on date

I have been asked to create an application to automatically send emails when
a date is reached. These dates are in a table in a database.

How would I approach this since I have never done something like this.

Any direction is appreciated it.

Thanks

Gene
Nov 20 '05 #1
2 1257
Well if the app is going to be running all the time, you will need a timer
set up to check the date every now and then. Otherwise, if it is just run
once/day then check it when it is launched.

For each person that gets an email when the dates match, create an instance
of SmtpMail with the right server and then use SmtpMail.Send(f rom, to,
subject, body). All those are strings. The .NET Framework handles all the
SMTP server code from there.

"Gene Ariani" <ka*****@comcas t.net> wrote in message
news:HL******** ************@co mcast.com...
I have been asked to create an application to automatically send emails when a date is reached. These dates are in a table in a database.

How would I approach this since I have never done something like this.

Any direction is appreciated it.

Thanks

Gene

Nov 20 '05 #2
Stephen;

Thank you very much for taking the time to answer my post. I will follow
your advice.
Gene
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
3895
by: Stefan Richter | last post by:
Hi, after coding for days on stupid form validations - Like: strings (min / max length), numbers(min / max value), money(min / max value), postcodes(min / max value), telefon numbers, email adresses and so on. I thought it might be a better way to programm an automated, dynamic form validation that works for all kinds of fields, shows the...
2
8729
by: Konstantin Zakharenko | last post by:
Hello, Our QA team have running a lot of test scripts (for automated regression testing), they run them on the different databases (Oracle/MS SQL). Several of those tests are dependent on the current date/time. In order to be able to use them efficiently, we changed the current date/time on the QA database server to a specific date/time...
3
1579
by: SueHales | last post by:
Hi, folks. I'm fairly new to SQL Server, so forgive any stupidity inherent in this question. I work at a university and a certain faculty member would like to have her students create a simple auction web site as an exercise. As part of the assignment, she wants the auction site to be able to send an email to a bidder when they have been...
2
1183
by: Paolo | last post by:
I have a table named CASES based used to store data for a small insurance company used to keep track of all the different forms used for a specific client. Some field refers to a different forms and are named with the form name (ex. A, B, C, etc.). Each form requires a Date Received field and a Date Cleared field. The fields wich are used for...
6
3048
by: brettev | last post by:
World, I work at a university where the professors have a system to input grades for assignments and calculate final grades, which is output to an excel file. they are then required to get on a different system and click radio buttons in a form to input final grades. i would like to automate this by doing some sort of automated form...
2
3654
by: Parasyke | last post by:
I'm needing to place today's date in the subject line of an email using the following example: DoCmd.SendObject acSendReport, "This Is My Subject Line", acFormatRTF, _ Can anyone show me how to place the date so that it reads: This Is My Subject Line - 09/15/2006 (?) Thanks in advance!
2
5556
by: tk | last post by:
Hello, At the moment im building a database for a driving school, I have a customer field, with email address as an attribute. I dont know much about macros in access but once the customer has booked a lesson i want a automated email to be sent to the customer 3 days or a few days before their driving lesson, stating the driving instructor,...
3
2078
by: Smalley | last post by:
All, I am trying to enhance a larger database but have created a basic db for now. Open Date, Due Date and Days Sitting in tbl fields, Query Fields and Form Fields as well as report. What I am looking to do is if Days Sitting equals 45 then send email to specific person. The email will always be to the same person. Your assistance with...
1
2642
by: jadeverell | last post by:
Hi, I have a database that contains information of contracts / tenders and need to do the following task: * when a contract reaches its expiry date, i want to send an automated email to notify the Account manager. I have a query/form that displays all the expired contracts but wanted to add some 'automation' into it. Any advice would...
0
7673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8109
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7645
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2085
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.