Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(\"text/html\"); intent.putExtra(Intent.EXTRA_EMAIL, \"emailaddress@emailaddress.com\"); intent.putExtr
Use this:
boolean success = EmailIntentBuilder.from(activity) .to("support@example.org") .cc("developer@example.org") .subject("Error report") .body(buildErrorReport()) .start();
use build gradle :
compile 'de.cketti.mailto:email-intent-builder:1.0.0'