Debugging SendGrid’s Parsing Incoming Messages

SendGrid has a nice feature available to it’s Silver Level Subscribers and above (currently $79/month) that let’s you have incoming message to a domain parsed and forwarded through a web service.  This is great if it works but if it does not debugging is tricky because the web service is running on your production server. Here are some steps to debug the service. Go to the URL: and then use the URL given to you as the email forwarding URL inside of the SendGrid Control panel. Then, send an email to your domain you want to parse ( in my case). Head back to the page and look at the request. Copy the headers into the fiddler compose request page, then the body … Continue Reading

Using Fiddler To Replay an AJAX (xmlhttp) Request

  The Problem I use to spend a lot of time writing throw away JavaScript code to test AJAX (XMLHttpRequest or Asynchronous JavaScript and XML) type requests to my hosted web services.  that is, on my ASP.NET server, I have services that look like the following (Microsoft ASP.NET MVC projects): [HttpPost] [NoCache] public JsonResult GetEmailByPerson(long addressBookEntryId, string existingEmailDetailIds, int? start, int? limit, bool? emailNotViewed = null, bool? emailNotDeleted = null, bool? forceDataToHtmlBody = false) { Utils.AuthorityLevel userAuthorityLevel = Utils.GetUserAuthorityLevel(); if (userAuthorityLevel == Utils.AuthorityLevel.None) { return Json(new { Message = … Continue Reading

Getting Fiddler to See you WCF Traffic

There are lots of articles on the internet if you search for WCF Fiddler however it’s not clear what the simplest path to follow is. For me, it turns out that just sprinkling a couple lines of code at the bottom of my windows forms app’s app.config file is all it took.  I got the tip from this post: The magic lines are as follows: <>     <defaultProxy>       <proxy bypassonlocal="false" usesystemdefault="true" />     </defaultProxy>   </> </configuration> That’s it!  Now, Fiddler just sees the traffic.  I’m a happy … Continue Reading


Get every new post delivered to your Inbox

Join other followers: