Sending a delayed email

Discussion in 'ASP.NET 2.0' started by raymondp, Jan 19, 2007.

  1. You can try capturing the email address in a database, and then create a web application to send out the emails pulling the data from the database. You can use Scheduled Task feature inside your discountasp control panel to trigger the web application.
     
  2. Background:
    Using ASP.Net 2.0, I have built a web-based calendaring modulethrough which users can create Events. I am now trying tocreate a reminders module where users can set reminders to be reminded at a given timebefore the event (15 minutes, 30 minutes...upto 1 week) before the event.

    Goal:
    Need to be able to notify users via email usingthe set reminder intervals.

    Question:
    Is there a way in ASP.Net 2.0 to schedule emails to be sent at a specific date/time instead of right-away?

    If not, do you have suggestions on how I can go about achieving the goal above?

    Any help or point in the right direction will help.

    Jimmy
     
  3. Thanks for the response. I was going to use the task scheduler but since the minimum time a task can be scheduled is 15 minutes, reminders for less than 15 minutes may not be accurate. This is why I was looking for some sort of an event-based solution.

    Is there a way in ASP.Net 2.0 to send an email at a given date/time instead of right now?

    Jimmy
     
  4. Good idea wisemx. Although it assumes a failry high and regular amount of traffic to be successful in sending those reminders. Unfortunately, we don't have that kind of traffic yet to make this work.
    So is there no way then to schedule an email delivery? In MS Exchange you can have an email be sent at a later date/time. I'm looking for something along that feature. However, I don't have Exchange nor do I have control of DASP's database Mail functionality that SQL2005 offers.

    That's why I'm lookingto ASP.Net 2.0 to give me something I can use in code.

    Jimmy
     
  5. That's anotherfeature Ilike inEudora.
    (Hold Shift to queue the mail for a later time/date you specify.)

    And of course Outlook has the Delay feature,then there are lots of on-line services like SendLater:
    http://sendlater.4team.biz/
     
  6. ...There are other ways to do this;


    Take for example a default asp.net page that captures the time/date now when a page is hit.


    That page could fire off a control that sends the mail, behind the scenes.


    It could also save information to a database such as "mail sent", "true", "datetime".


    Typical visitors to your page could be the delivery method without even knowing.
     

Share This Page