Send Email to Multiple Addresses Android

后端 未结 3 442
感动是毒
感动是毒 2021-02-06 08:07

I want to select a number of email addresses and then send an email to all of them.

My code is as below:

emailIntent .putExtra(android.content.Intent.EXT         


        
3条回答
  •  梦如初夏
    2021-02-06 08:41

    Intent intent = null;
    intent = new Intent(Intent.ACTION_SEND);
    intent.setType("plain/text");
    intent.putExtra(Intent.EXTRA_EMAIL,new String[] { "abc@gmail.com" , "test@gmail.com", "xyz@test.com"});
    startActivity(intent);
    

提交回复
热议问题