473,385 Members | 1,570 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,385 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 1419
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?

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.