Click here to Skip to main content
12,632,970 members (34,390 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET Ajax
HOw to send an email automatically with out users events like button click etc..
Posted 7-Dec-12 1:28am
sahmed4467
Comments
choudhary.sumit 7-Dec-12 6:31am
   
what you exactly want dear..?? when will u want to send me an email :)
AnkitGoel.com 7-Dec-12 6:32am
   
please explain the scenario and the problem.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You will need to have some sort of a trigger mechanism to send the mail.
It could be a timer, a call from another program, anything.

Just send the email out on that....
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

I think you have to write windows service, so that the service continuesly hits your database in given time span and if there is new entry found it will send the mail automatically so that there is no need any user interaction.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

please give an example program....vishal & Abhinav
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 4

Make One ScheduleMail Function in Masterpage CodeBehind...
Call it in Page Load of MasterPage..
trigger By Time..Like
in Schedulemail Function
if(System.DateTime.UtcNow= Ds.Tables[0].Rows[0]["DBTime"]
{
//send Mail
}
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 5

  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161208.2 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100