如何对我特定电子邮件android系统中发送反馈? [英] How can i send feedback on particular email in android?

查看:133
本文介绍了如何对我特定电子邮件android系统中发送反馈?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这里,我会怎么做派特定电子邮件我的数据。

Here i am going to do send my data on particular E-mail.

数据包含发送者的名字,发送者的发送者和消息的电子邮件。
以上所有信息到我的邮箱。

Data contains name of the sender,email of the sender and message of the sender. All above information to my mail.

请,帮我解决了。

推荐答案

我用这个包装:

public static void sendEmail(Context ctx) {
        Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
        String[] recipients = new String[]{"***your.mail@example.com***"};// Replace your email id here 
        emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, recipients);
        emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "*TITLE*");// Replace your title with "TITLE" 
        emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "");
        emailIntent.setType("***text/plain***"); // set content type here
        ctx.startActivity(Intent.createChooser(emailIntent, "Send E-mail..."));// it will provide you supported all app to send email.
    }

这篇关于如何对我特定电子邮件android系统中发送反馈?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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