{"id":11757,"date":"2015-07-20T10:07:53","date_gmt":"2015-07-20T14:07:53","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=11757"},"modified":"2015-07-20T11:49:16","modified_gmt":"2015-07-20T15:49:16","slug":"fastmail-enables-imap-push-for-ios","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2015\/07\/20\/fastmail-enables-imap-push-for-ios\/","title":{"rendered":"FastMail Enables IMAP Push for iOS"},"content":{"rendered":"<p><a href=\"http:\/\/blog.fastmail.com\/2015\/07\/17\/push-email-now-available-in-ios-mail\/\">FastMail<\/a> (via <a href=\"http:\/\/www.macdrifter.com\/2015\/07\/fastmail-enables-imap-push-for-ios-link.html\">Gabe Weatherhead<\/a>):<\/p>\n<blockquote cite=\"http:\/\/blog.fastmail.com\/2015\/07\/17\/push-email-now-available-in-ios-mail\/\"><p>While our own app has had push notifications for some time, with the built-in Mail app you would have to wait until it next decided to check the server for your new messages. But no more! From today, new mail will be pushed straight to your inbox.<\/p><\/blockquote>\n<p><a href=\"https:\/\/news.ycombinator.com\/item?id=9901714\">robn_fastmail<\/a> (via <a href=\"https:\/\/twitter.com\/milend\/status\/622045211225624576\">Milen Dzhumerov<\/a>):<\/p>\n<blockquote cite=\"https:\/\/news.ycombinator.com\/item?id=9901714\"><p>IMAP &ldquo;push&rdquo; usually means the IDLE extension, where a client holds a connection open and waits for the server to report that something has happened. This works ok, but isn&rsquo;t great on mobile because holding a TCP connection open is usually difficult on flaky networks and consumes battery.<\/p>\n<p>iOS Mail doesn&rsquo;t implement it, instead doing a poll every 15 minutes. However it also implements a separate push system which allows true push if the server supports it. <em>The details on how to support this aren&rsquo;t public information.<\/em><\/p>\n<p>We talked to Apple, and they were kind enough to give us access to this system. We implemented it on our side, and now when an email arrives at FastMail we can immediately signal to Mail.app that there&rsquo;s new mail available.<\/p><\/blockquote>\n<p>Emphasis added.<\/p>","protected":false},"excerpt":{"rendered":"<p>FastMail (via Gabe Weatherhead): While our own app has had push notifications for some time, with the built-in Mail app you would have to wait until it next decided to check the server for your new messages. But no more! From today, new mail will be pushed straight to your inbox. robn_fastmail (via Milen Dzhumerov): [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[150,596,424,31,1013],"class_list":["post-11757","post","type-post","status-publish","format-standard","hentry","category-technology","tag-email","tag-fastmail","tag-imap","tag-ios","tag-private-api"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=11757"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11757\/revisions"}],"predecessor-version":[{"id":11758,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11757\/revisions\/11758"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=11757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=11757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=11757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}