5

How can I code a program in C# that can check for replies to my Stack Exchange questions and send me instant e-mail alerts when new replies are posted?

It'd be great if all users' activity here went directly to their e-mail.

migrated from stackoverflow.com Aug 11 '10 at 0:42

This question came from our site for professional and enthusiast programmers.

  • instant email, that sounds like an oxymoron – Sam Hasler Apr 22 '09 at 16:40
  • better than mail-over-sneakernet ;) – Eoin Campbell Apr 22 '09 at 16:43
  • @Sam Hasler - yes, but it's important to differentiate what he's asking for from, for example, a daily digest of activity. SO, I doubt, will ever implement a 'instant alert' for each activity - that would be thousands of email per hour... – Adam Davis 'ze-zir-zem' Apr 22 '09 at 16:51
  • Related: meta.stackexchange.com/questions/6557/… – Pops Sep 23 '11 at 20:26
6

Yes - there's an rss feed on each page - just put the url into something like rssbandit.

4

You could write a program that monitors the RSS question feed. (Or simply add the feed to your news aggregator - no need for writing a separate program for it if you don't have special requirements).

The question feed URL is (for this question):

http://stackoverflow.com/feeds/question/778127
2

Yes. Grab the HTTP page https://stackoverflow.com/users/recent/92735/?sort=responses and scrape it.

The advantage to this method is that you don't have to get the RSS address and add it to your monitoring program every time you ask a question - this monitors all your questions.

This page is updated whenever someone adds an answer or comment to any of your questions, as well as comments on any of your answers. You can parse out the type of response (answer to question, comment on question, comment on response) as well.

The other activity pages can be similarly scraped:

Right now SO implements email notification if you haven't visited the site recently, and activity occurs, but if you want SO to do this daily, you'll need to open a suggestion on http://stackoverflow.uservoice.com/ .

2

An RSS feed is definitely the way to go. Your personal user-specific RSS feed is here:

https://stackoverflow.com/feeds/user/92735

0

I've created a Firefox Microsummary Generator for the recent activity page that can create a bookmark live title like this: 4,402 R:10 A:1 C:2 E:0 B:0

You must log in to answer this question.