0

I am using below code to launch the email composer.

   Intent intent = new Intent(Intent.ACTION_SEND);
  startActivity(Intent.createChooser(intent, email_chooser_title));

After launches the email composer , when the user hits on the "Send" button , I want execute some of my code.

Pl. let me know how can I get that notification.

thanks.

brig
  • 3,721
  • 12
  • 43
  • 61

1 Answers1

1

if you are using the android email body then its android defoult page .you can not handle the click event of the send button ..but for that you need to create your own layout and the need to send the mail using the javax.mail api

this is the link you can check out how to make it

Community
  • 1
  • 1
dharmendra
  • 7,835
  • 5
  • 38
  • 71