bwicks bwicks - 7 months ago 34
Android Question

Does Android's ACTION_SEND Intent have a mechanism to specify the recipient's name?

I am using this Intent to open the device's e-mail client:

Intent emailIntent = new Intent(Intent.ACTION_SEND);
emailIntent.putExtra(Intent.EXTRA_EMAIL, new String[]{""});
emailIntent.putExtra(Intent.EXTRA_SUBJECT, "Subject");

Is there an Extra to specify the recipient's actual name?


There no extra for that from the doc

That's the maximum that you can do to compose a new email

public void composeEmail(String[] addresses, String subject, Uri attachment) {
    Intent intent = new Intent(Intent.ACTION_SEND);
    intent.putExtra(Intent.EXTRA_EMAIL, addresses);
    intent.putExtra(Intent.EXTRA_SUBJECT, subject);
    intent.putExtra(Intent.EXTRA_STREAM, attachment);
    if (intent.resolveActivity(getPackageManager()) != null) {