1

I have scenario where my app has to login in by specifying username and password. After successful login I am going to show user all contents.

For example user wants to see https://login.live.com inbox item. Where user will enter his username and pass in my application’s input filed instead of https://login.live.com . Then application will signed him and show his email inbox.

For this purpose I have to use WebView class to host html content. But I cannot just bring the login page directly to user for logging purpose. So I have to sign the user programmatically then show him all content by WebView class.

Thus I thought it should be possible to use https post request to sign first then use same https session. I might be wrong, there could be other way for windows phone 8. I don’t know right api for windows phone 8. So could you please suggest how can I achieve this goal by using windows phone 8 API?

Thanks in advance!

4

1 回答 1

0

我不认为你可以使用 Windows 8 API,因为如果你想做客户端邮件(如雷鸟),你必须使用 POP3、IMAP 协议来接收邮件和 SMTP 协议来发送邮件。

在这里你可以找到一个很好的实现 POP3 协议的库(有参考资料)

在这里你可以找到一个关于使用 SMTP 的例子

于 2013-10-19T14:12:43.363 回答