1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to send mail periodically through ASP?...Can anyone help?

Discussion in 'C#' started by rag84dec, Mar 27, 2008.

  1. #1
    How to send mail periodically through ASP?...Can anyone help?
     
    rag84dec, Mar 27, 2008 IP
  2. mythbuster08

    mythbuster08 Peon

    Messages:
    180
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use the Task Scheduler (like you would use cron on LAMP).
     
    mythbuster08, Mar 27, 2008 IP
  3. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #3
    unfortunately it is one of the poor elements of windows hosting in that most LAMP hosts allow you to set up cron jobs but most windows shared hosts dont allow you to set up scheduled tasks or have some poor interpretation of them.
     
    AstarothSolutions, Mar 28, 2008 IP
  4. mythbuster08

    mythbuster08 Peon

    Messages:
    180
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Okayyyyyy ...
    Revised solution: Get a Linux hosting with cron-jobs. Use curl to periodically invoke a script on your Windows server. LOL!
    If Task Scheduler can not be used and another Linux server isn't really what is wanted, the link below shows a possible workaround - with quite some pitfalls!
    http://www.angrycoder.com/article.aspx?cid=5&y=2003&m=4&d=11
     
    mythbuster08, Mar 28, 2008 IP
  5. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Or if you leave your home PC on 24/7 just set up a scheduled task there to connect to the page with the code required... again a bit messy but is a viable solution.
     
    AstarothSolutions, Mar 31, 2008 IP