Intent mailIntent = new Intent(Intent.ACTION_SEND); String[] tos = { "[email protected]" }; //真机上用这个 模拟器上用"text/plain" mailIntent.setType("message/rfc822"); mailIntent.putExtra(Intent.EXTRA_EMAIL, tos); mailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "egame MailService"); startActivity(mailIntent);
android 调用mail程序发送邮件
猜你喜欢
转载自hellorheaven.iteye.com/blog/1839936
今日推荐
周排行