Intents are created to define an action that we want to perform, and they launch the appropriate activity from another application.
Syntax:
Intent intent = new Intent(Intent.ACTION_SEND);intent.putExtra(Intent.EXTRA_EMAIL, recipientArray);
startActivity(intent);