Mailgun Reporting Functions - mailgun

Is there an open source project that deals with basic reporting functionality for Mailgun. All I want to do is download my permanent failures and export to a human readable file. Mailgun has an API that I can write code for that but I would like to avoid reinventing the wheel.

See github.com/kehers/suet (disclaimer: I built this). It gives you a detailed analytics dashboard and breakdown of email performance, users, mails and feeds. You can also connect Slack and get complaints, bounces and failures send to a channel.
A managed version is available at suet.co

Related

How github auto updating comments work?

As mentioned here
https://github.com/blog/1174-auto-updating-comments
What is the technology behind this? If I've to add this feature in a Django powered web app, what should I use and study?
Looking at network tab it looks like they (at least with chrome) are using HTML5 Server Sent Events.
So practically the browser subscribes to a event stream and the web server just sends messages back.
I am not an expert but I guess on the server side you need to be able to keep an open connection that streams the events to the client.
I found an implementation of SSE for python here: https://github.com/niwibe/sse and a django implementation on top of that: https://github.com/niwibe/django-sse
I did not use them (yet) on any production so I suggest them only as study / poc material :)

ColdFusion and Streaming APIs... (i.e. Twitter)

Has anyone had any luck using ColdFusion as a way to collect data via streaming APIs?
i.e. - https://dev.twitter.com/docs/streaming-api
I know the best option is to use an app that literally sits on the server monitoring these portals. Just curious if anyone has done anything using CF yet.
Aaron Longnion built refynr.com using CF9. It's a service that collects users' Twitter streams based on supplied criteria. I imagine he's down something like you describe.
However, I'd look into the new web socket functionality built into ColdFusion 10 and see if that makes consuming streaming APIs any easier.
http://labs.adobe.com/technologies/coldfusion10/
If you know a bit of Java, it may not be too difficult to use Twitter4J, and build an event gateway for your CF app to consume the stream.
If you want to go the web socket route, see: Twitter + HTML5 webSocket API

How to create a webservice which listens to tfs 2010 event alerts?

i need a webservice which listens to tfs (2010). The tfs will trigger an alert when build quality is changed. i want to process that SOAP message using a webservice. how do i create that? is there any template? i am a rookie in c# &.net...it would be much helpful if someone gives me a template...thx a lot
Instead of using this method for using WCF event handlers, I would actually use the new ISubscriber method. We additionally discuss how it works in Chapter 25 of our book, Professional Team Foundation Server 2010 by Wrox.
The open source project TFS Global Alerts implements just that. You can browse the code and use it as a template.
Web services generally make a request, get a response, and leave. They don't hang around listening.
TFS is capable of sending notifications. It's a fairly simple process. For starters, here is a how-to article that says:
TFS notifications are useful in sending alerts when a work item is changed, the build is completed, build property changed etc.
Edit: TFS offers several types of alerts, including email and SOAP, as explained in this posting on How To Subscribe to TFS Alerts which states:
Microsoft Team Foundation Server (TFS) contains a collection of services including version control, work item tracking, and the EventService service. EventService exposes a set of events that performs actions such as sending e-mail or a SOAP-based Web service call.
and a bit more
If you want to get notified for all new workitems, regardless of who
they get assigned to, you will want a custom subscription...First option is to create alert with the BisSubscribe tool ... the preferred message delivery type: EmailHtml, EmailPlaintext, or SOAP. Default is SOAP.
You can create a WCF service to receive these alerts. Please see "How to use WCF to subscribe to the TFS 2010 Event Service [rolling up hours]".

How to integrate twitter with c++ application?

I have a C++ application that uses curl to go to log in to a website, get information, and then parse the information. Now I want to send myself an alert to my phone via sms or e-mail or I can I also send the alert to twitter and then get a notification that way.
My environment is windows vista and I use MSVS 8.
I just need something easy that i can throw together quick to notify myself when something on the webpage changes.
If there's anything that will work with curl (POST/GET), even better because I am already familiar with that.
thanks!
Twitcurl provides a Twitter API on top of cURL.

What is a good way to write functional tests for website email functionality?

Websites involve email functions, such as sending registration information, password reminders, etc.
I try to routinely run functional tests of complete websites from outside the website, and need a way to receive these test emails from an httplib based test script.
Previously, I have used anonymous email services, where the email content can be retrieved seconds or minutes after sending it, with an http GET.
These systems seem fragile, though, and they involve screen scraping, which is itself fragile. Are there services that provide emails via an xml/json GETable interface?
Is there a fundamentally better way to approach this? There are new email web-services like postmarkapp.com and yakmail.com; but the former does not receive mail, and the latter requires significant advance preparation.
My test tools are used for verification testing of live production systems, so mocking is not a good option.
If you're trying to check whether your code sends the emails, and whether the content of the email is correct, mocking is the best solution. Take a look at wiser. Unit tests and mock tests are faster and more helpful (for debugging) than integration/functional tests.
If you're doing a User acceptance test, in terms of looking at what the email looks like on a specific email client, then you have to test it manually and may be use scripts to screenshot your emails.