how to send email from an android application
<p>I have tried this till now</p>

<pre><code>register.setOnClickListener(new OnClickListener()
        {           
            @Override
            public void onClick(View v)
            {

                Username = username.getText().toString();   
                Email = email.getText().toString();
                System.out.println("clicked register Button");
                System.out.println(" User name is :" + Username );
                System.out.println(" Email Id is :" + Email);


                Intent i = new Intent(Intent.ACTION_SEND);
                i.setType("text/plain");
                i.putExtra(Intent.EXTRA_EMAIL  , Email);
                i.putExtra(Intent.EXTRA_EMAIL  , Email);
                i.putExtra(Intent.EXTRA_SUBJECT, "You are registered for Aero india");
                i.putExtra(Intent.EXTRA_TEXT   , "Get the print out of this email while coming to the venue");
                try {
                    startActivity(Intent.createChooser(i, "Send mail..."));
                } catch (android.content.ActivityNotFoundException ex) {
                    ex.printStackTrace();
                }

            }
        });
</code></pre>
