Sending e-Mail in Android
<p>I need to send an e-mail from my Android application. So, I send 2 parameters ( e-mail and subject) to the e-mail client app, but when app opens e-mail client, there is only subject parameter added, and email parameter is not set.</p>

<p>How I can fix this?</p>

<pre><code>  String getMail = email.toString();
  Log.d("GET MAIL:",getMail);
  String subject = "Subject";
  Intent emailIntent = new Intent(Intent.ACTION_SEND);
  emailIntent.putExtra(Intent.EXTRA_EMAIL, getMail);
  emailIntent.putExtra(Intent.EXTRA_SUBJECT, subject);

// need this to prompts email client only                                                
 emailIntent.setType("message/rfc822");
 startActivity(Intent.createChooser(emailIntent,"Choose E-mail client:"));
</code></pre>
