Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET Server email
Hi Guys,
 
I have requirement i have to remind people that their licence is expiring in next 2 months.
While creating the profile i record their certifiate expiry date, users may be around 1000 +.
 
* Every week once system should get the list of users who's licence is expiring and send email to each user.
 
How should the server trigger that event of gathering the list and then send the email ? ( No using sql server to send emails )
 
While answering consider that i have to host the application on shared server or may be virtual server using some hosting plan.
 
Thanks
Posted 24-Feb-11 23:10pm
Comments
Member 10383365 at 9-Jun-14 2:02am
   
Hi,
How to send auto mail while asp.net application is closed using webservice methods?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You just need a simple Windows Service.
 
Host in on your webserver and it will get activated as configured. Based on the configured time, the schedule items would get exectued. In your schedule, get the email content and Id's and sent it to the needed people.
 
To know more of Windows Servive:
Windows Services in Action I[^]
Simple Windows Service Sample[^]
  Permalink  
Comments
senguptaamlan at 25-Feb-11 4:31am
   
I believe making a windows schedular service can suffice the need...
Dylan Morley at 25-Feb-11 4:33am
   
Not all ISP will allow you to install a windows service, particularly on a shared server (budget hosting!)
adi.jc at 21-Nov-12 7:38am
   
how to give automatic mail system in asp.net(c#).
Sandeep Mewara at 21-Nov-12 8:23am
   
Read my answer, look at the links and you will understand on how to automate email.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I use discount asp.net for my hosting, that allows me to create a scheduled task to hit a particular URL at a certain interval.
 
I'd just design a page that queries the database & perform the email routine, deploy the page & have the task poll the URL every week.
 
It depends who you're going to use for your hosting & what access to scheduling you have.
  Permalink  
Comments
Member 10383365 at 9-Jun-14 1:53am
   
Hi,
How to send auto mail while asp.net application is closed using webservice methods?

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 420
1 OriginalGriff 230
2 DamithSL 135
3 Dave Kreskowiak 110
4 Suvendu Shekhar Giri 110
0 OriginalGriff 7,740
1 DamithSL 5,644
2 Sergey Alexandrovich Kryukov 5,404
3 Maciej Los 5,011
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 20 May 2013
Copyright © CodeProject, 1999-2014
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