Continuing my exploration of iOS Apps, I setup an email account with the iOS Mail App and Hotmail. The iOS Mail App will use whatever protocol it is configured to use to retrieve and send email. In this case, I chose Microsoft Hotmail.

To capture traffic and see what is going back and forth, I took the following steps:

  • Start an HTTP proxy on my computer
  • Generate an SSL certificate within the HTTP proxy
  • Transfer the SSL certificate and install it on the iOS device
  • Point the iOS device to the HTTP proxy

This allows me to see both HTTP and HTTPS traffic to and from the iOS device and the email provider. I selected update on the mail app and saw this:

X-MS-PolicyKey: 0
Accept-Language: en-us
User-Agent: Apple-iPod4C1/1002.329
Proxy-Connection: keep-alive
Accept: */*
Content-Type: application/
Connection: keep-alive
Authorization: Basic ZmFrZWVtYW<removed>29tOmZha2VwYXNzd29yZDEy
Content-Length: 158
MS-ASProtocolVersion: 14.0