我怎么能发送从Android应用程序的电子邮件的情况下直接显示设备的默认电子邮件的形式? [英] How can I send an email from android application directly without showing the default email form of the device?

查看:205
本文介绍了我怎么能发送从Android应用程序的电子邮件的情况下直接显示设备的默认电子邮件的形式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立的,我使用意图发送电子邮件发送电子邮件从一个Android应用程序的一种形式,那就是:

I am building a form that sends emails from an android application, I am using Intents to send the email, that is:

Intent sendIntent;
sendIntent = new Intent(Intent.ACTION_SEND);

我的要求是,我想要的邮件立即发送,目前该应用程序是显示我安装的电子邮件应用程序的设备,我可以在发送前重新构图电子邮件,我想直接发送邮件而不显示安装的应用程序。

My requirement is that I want the email to be sent immediately, currently the application is showing me installed email applications in device where I can recompose the email before sending, I want to send the mail directly without showing installed applications.

感谢

推荐答案

请参阅以下解决方案:

<一个href="http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-android-app/2033124#2033124">solution 1

<一个href="http://stackoverflow.com/questions/2197741/how-to-send-email-from-my-android-application">solution 2

和带有附件 电子邮件

and email with attachments

这篇关于我怎么能发送从Android应用程序的电子邮件的情况下直接显示设备的默认电子邮件的形式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆