Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I access IMAP in Windows 8 Store apps?

Looking at creating a small email client for Windows 8 as a proof of concept. I've never actually written an email app, and it looks like I picked a difficult place to start, as System.Net.Mail seems to not be available to store apps.

This thread about IMAP in c# has lots of examples of libraries and components for doing IMAP in c#, but most of them seem to rely on functions not available in WinRT

Am I missing something obvious or do I just have to implement IMAP from the ground up?

like image 808
roryok Avatar asked Nov 12 '22 21:11

roryok


1 Answers

I think you need to write your own implementation for IMAP/SMTP/POP3 Because Metro apps use a lot of sharing contracts. And microsoft says that if you want to write your own email client it is likely that they want their own implementation. If not just use a share contract with the build in Email client.

So I think the answer is. You need to write your own implementation of the RFC 3501 - INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1 or use Share contract to talk to your installed email client.

like image 103
Jordy van Eijk Avatar answered Nov 15 '22 12:11

Jordy van Eijk