How to send image file in the body of the email
I know this question is already ask in the stack overflow, and i looked around them but dont get any clue. Actually i have write code for sending image file as an attachment to my mail and its working fine. The code i used for sending imageFile as an attachment is shown below. Can anyone tell me what are the changes i need to do to send the imageFile in the body of mail. Any clue will be helpful.

**code for sending image as an attached file**

    Uri imageUri = Uri.parse("content://" + CachedFileProvider.AUTHORITY + "/" + fileNameArray.get(position));
			
	Intent intent = new Intent(android.content.Intent.ACTION_SEND);
	intent.setType("image/png");
	intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);

	intent.putExtra(Intent.EXTRA_STREAM, imageUri);
	startActivity(Intent.createChooser(i, "Send email"));
How to send image file in the body of the email
===

I know this question is already ask in the stack overflow, and i looked around them but dont get any clue. Actually i have write code for sending image file as an attachment to my mail and its working fine. The code i used for sending imageFile as an attachment is shown below. Can anyone tell me what are the changes i need to do to send the imageFile in the body of mail. Any clue will be helpful.

**code for sending image as an attached file**

    Uri imageUri = Uri.parse("content://" + CachedFileProvider.AUTHORITY + "/" + fileNameArray.get(position));
			
	Intent intent = new Intent(android.content.Intent.ACTION_SEND);
	intent.setType("image/png");
	intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);

	intent.putExtra(Intent.EXTRA_STREAM, imageUri);
	startActivity(Intent.createChooser(i, "Send email"));