Developing an email client app on android

被刻印的时光 ゝ 提交于 2021-02-07 08:15:36

问题


I am trying to develop a small application for sending and receiving emails on the Android plataform. Currently i have been using the Javamail api trying to send an email. However i thought that if i implement my app using javamail how am i going to receive an email and get a notification from my app that i have recieved it? Is this having to do with Service and Provder classes found on Android? I am a complete beginner on android.

Also i tried this piece of code found here :

Android Programming - Send mail

with no luck since application does not work.


回答1:


JavaMail can also be used to fetch mails from a POP3 server. As an example look at this class: PopMailImporter.java, especially the importMails and importMail function.



来源:https://stackoverflow.com/questions/8009351/developing-an-email-client-app-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!