artbits / android-mail Goto Github PK
View Code? Open in Web Editor NEW基于 JavaMail 开发的 Android 邮箱
License: Apache License 2.0
基于 JavaMail 开发的 Android 邮箱
License: Apache License 2.0
发送HTML邮件时,其中插入的图片会以附件发送,接收时图片在邮件中无法正常显示。
用此框架登录腾讯企业邮箱(A),先通过拉取邮件方法,共有5条邮件
然后我用测试邮箱给(A)发送测试邮件,通过网页发现(A)收到了邮件变成了6条!可是在Java里首次调用此框架同步方法syncMessage返回的(List messageList, long[] deleteUidList)都是空!
接收文件详情里面带有附件的txt文件时,页面上的附件再闪烁
ERROR: Failed to resolve: com.github.mailhu:email:2.4.0
// There is something wrong with MailCap, javamail can not find a handler for the multipart/mixed part, so this bit needs to be added.
MailcapCommandMap mc = (MailcapCommandMap) CommandMap.getDefaultCommandMap();
mc.addMailcap("text/html;; x-java-content-handler=com.sun.mail.handlers.text_html");
mc.addMailcap("text/xml;; x-java-content-handler=com.sun.mail.handlers.text_xml");
mc.addMailcap("text/plain;; x-java-content-handler=com.sun.mail.handlers.text_plain");
mc.addMailcap("multipart/*;; x-java-content-handler=com.sun.mail.handlers.multipart_mixed");
mc.addMailcap("message/rfc822;; x-java-content-handler=com.sun.mail.handlers.message_rfc822");
CommandMap.setDefaultCommandMap(mc);
新年快乐,新版本重构后和之前旧版本差别有点大,我想了解一下新版本有优化什么功能吗?之前使用的时候发现第一次拉取邮件比较慢,尤其是邮箱里有未读邮件。
支持发送多个附件吗?
Android 12 beta2 中运行报错,更改build.gradle解决
implementation 'com.sun.mail:android-mail:1.6.2'
implementation 'com.sun.mail:android-activation:1.6.2'
更改为
implementation 'com.sun.mail:android-mail:1.6.6'
implementation 'com.sun.mail:android-activation:1.6.6'
邮件的回复功能与转发功能。
晚安!2020.01.12 凌晨1:55
本框架可否添加回对pop3协议的支持?
另外在此项目中添加对exchange的支持容易吗?
谢谢~
怎么支持POP协议啊。有的邮箱不支持IMAP协议了
问题: 请问在使用 javaMail 下载附件的时候,有没有遇到过附件下载很慢的问题.
我在使用 javaMail 进行下载附件的时候,速度总是超不过 50kb/s
使用
EmailKit.useIMAPService(config) .getInbox() .load(-1, new EmailKit.GetLoadCallback)
加载邮件,拿到的邮件却不包含最新的邮件。
因为要从邮件中拿验证码,这就导致拿到的验证码都是之前收到的。
如题,好像是因为outlook的加密协议是STARTTLS,可参考:https://blog.csdn.net/m0_37897662/article/details/118307025
但是我不会,请问大佬可以修复下嘛
作者您好,非常欣赏您的做法,我想问邮箱框架支持附件上传下载功能吗
我有个附件,本身只有9.32M,但是获取到的文件大小只12.78M
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.