如何通过Exchange ActiveSync邮件帐户发送电子邮件?

时间:2011-09-26 07:00:48

标签: android

如何通过Exchange ActiveSync邮件帐户而不是Gmail发送电子邮件?当我使用createchooser时,只有gmail出现......

Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); 
    String aEmailList[] = { "me@mail.com" };
    emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, aEmailList);   
    emailIntent.setType("plain/text");
    startActivity(Intent.createChooser(emailIntent, "Send email..."));

1 个答案:

答案 0 :(得分:1)

emailIntent.setType("application/octet-stream");

适合我! : - )