how to email periodically newsletters to company member, clients .
how create automatically newsletter.
how to email automatically to all or select people thats it revelant.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Madhu KRank #1,514 · 1.1K reputationPosted Nov 15, 2010, 2:47 AM EST
shilpi gupta44 reputationPosted Nov 15, 2010, 3:08 AM EST
can u give example
Mahesh ChandRank #1 · 393.3K reputationPosted Nov 15, 2010, 3:09 AM EST
Search this site for a Windows Service if you do not know how to create a Windows Service.
Madhu KRank #1,514 · 1.1K reputationPosted Nov 15, 2010, 3:32 AM EST
Have a look here creating window service http://www.csharpcorner.com/UploadFile/mahesh/window_service11262005045007AM/window_service.aspx Following is sample code how to send periodically. public partial class Service1 : ServiceBase { public Service1() { InitializeComponent(); } System.Timers.Timer testTimer = new System.Timers.Timer(); protected override void OnStart(string[] args) { testTimer.Enabled = true; testTimer.Interval = 1000; testTimer.Elapsed += new System.Timers.ElapsedEventHandler(testTimer_Elapsed); } private void testTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) { /* you can check in the data base which mail should send & send email */ } protected override void OnStop() { testTimer.Enabled = false; } }Sam HobbsRank #107 · 20.5K reputationPosted Nov 15, 2010, 6:34 PM EST