Intent email = new Intent(android.content.Intent.ACTION_SEND); File file = new File(fileUrl); //邮件发送类型:带附件的邮件 email.setType("application/octet-stream"); //邮件接收者(数组,可以是多位接收者) // String[] emailReciver = new String[]{"123456@qq.com","654321@163.com"}; String[] emailReciver = new String[]{mEmail.getText().toString().trim()}; String emailTitle = "标题"; String emailContent = "内容"; //设置邮件地址 email.putExtra(android.content.Intent.EXTRA_EMAIL, emailReciver); //设置邮件标题 email.putExtra(android.content.Intent.EXTRA_SUBJECT, emailTitle); //设置发送的内容 email.putExtra(android.content.Intent.EXTRA_TEXT, emailContent); //附件 email.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file)); //调用系统的邮件系统 startActivityForResult(Intent.createChooser(email, "请选择邮件发送软件"), AppConfig.ActivityResult.ACT_MSG_SENDFILE);