473,395 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to automate sending mail


I want to send a email (i am using ASP.net with C# as
code behind) to a person on a perticular date and
time..say if the user composes a mail today and selectes
that this mail should reach after 10 days and at
10:00Am...and another user composes a mail today and
specifies that the mail has to be sent after 4 days and at
5:00pm..Pls tell me where i have to specify the delivery
date and time so that the email will be sent at that
perticular date and time...
Jul 21 '05 #1
2 1421
Hi,
I think u will have to store the email and the date when u want the email to
go out in some storage like sql server or xml file. and then using sql agent
(if u are using sql server u can schedule a job to check if there are any
emails to send out today and then send the email. if u want to be time
specific, u can schedule the job to run every day and every hour.
Hope this helps

<an*******@discussions.microsoft.com> wrote in message
news:1b*****************************@phx.gbl...

I want to send a email (i am using ASP.net with C# as
code behind) to a person on a perticular date and
time..say if the user composes a mail today and selectes
that this mail should reach after 10 days and at
10:00Am...and another user composes a mail today and
specifies that the mail has to be sent after 4 days and at
5:00pm..Pls tell me where i have to specify the delivery
date and time so that the email will be sent at that
perticular date and time...

Jul 21 '05 #2

Thanks Frazer. I have the same idea. Actually i have the
mail details stored in the document library of Sharepoint
Portal Server. Sharepoint uses Sql Server to store the
library contents. I have to see how the idea works. If you
know more in detail that will be really helpful.
Jul 21 '05 #3

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

Similar topics

10
by: Stuart Mueller | last post by:
I have an exchange server, that I sometimes use to perform mail shots to clients on our database, these can be upwards of 1000 at a time. As we don't want different clients to see who we are...
0
by: Lokanathan | last post by:
I want to send a email (i am using ASP.net with C# as code behind) to a person on a perticular date and time..say if the user composes a mail today and selectes that this mail should reach after...
1
by: Lokanathan | last post by:
I want to send a email (i am using ASP.net with C# as code behind) to a person on a perticular date and time..say if the user composes a mail today and selectes that this mail should reach after...
2
by: Mr. x | last post by:
Hello, I am sending emails with Hebrew contents. When receiving emails - I cannot see the Hebrew characters (it is not outlook express configuration, because when receiving emails from friends -...
3
by: VB Programmer | last post by:
I have an ASPX page where I send out emails through my mail server mail.MyDomain.com. When I send emails to MyName@MyDomain.com it sends PERFECTLY. When I try sending an email to any other address...
1
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to...
9
by: JoeP | last post by:
Hi All, How can I find the reason for such an error: Failure sending mail. Some Code... oMailMessage.IsBodyHtml = False oMailMessage.Body = cEmailBody Dim oSMTP As New SmtpClient...
3
by: chiinook | last post by:
I have built a fairly simple database to manage contact information for about 300 clients. Some of these have requested that I send them our publications by email rather than post. I have created a...
4
by: =?Utf-8?B?R3V5IENvaGVu?= | last post by:
Hi all I use: Dim message As New MailMessage(txtTo.Text, txtFrom.Text, txtSubject.Text, txtBody.Text) Dim emailClient As New SmtpClient(txtSMTPServer.Text) emailClient.Send(message) And its...
3
by: BlackMustard | last post by:
i have coded a little windows application in vb.net, which looks up a lot of info from an excel sheet, defines and fills new outlook.mailitem:s with information and attempts to send them. but for...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.