Android 发送邮件

Intent(android.content.Intent.ACTION_SENDTO); emailIntent.setType("text/html"); emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "testing email send."); emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, Html.fromHtml("<b>this is html text in email body.</b>")); startActivity(Intent.createChooser(emailIntent, "Email to Friend")); 

你可能感兴趣的:(Android 发送邮件)