title: How can I check sent emails from my Android application? Or intent upon completion (regardless of email sent)?
body: <p>I want to check for email completion, then start another activity.</p>
  
  <p>So my question is really how do I check <code>i</code> for completion? </p>
  
  <pre><code>EDIT:
  </code></pre>
  
  <p><strong>Or is there a way to close the intent upon completion (regardless of email sent) and check for that event?</strong></p>
  
  <p>I'm using:</p>
  
  <pre><code>Intent i = new Intent(Intent.ACTION_SEND);
  i.setType("message/rfc822");
  i.putExtra(Intent.EXTRA_EMAIL  , new String[]{"recipient@example.com"});
  i.putExtra(Intent.EXTRA_SUBJECT, "subject of email");
  i.putExtra(Intent.EXTRA_TEXT   , "body of email");
  try {
      startActivity(Intent.createChooser(i, "Send mail..."));
  } catch (android.content.ActivityNotFoundException ex) {
      Toast.makeText(MyActivity.this, "There are no email clients installed.", Toast.LENGTH_SHORT).show();
  }
  </code></pre>