Hassan Mokdad Hassan Mokdad - 19 days ago 7
Android Question

How can I send an email from android application directly without showing the default email form of the device?

I am building a form that sends emails from an android application, I am using Intents to send the email, that is:

Intent sendIntent;
sendIntent = new Intent(Intent.ACTION_SEND);


My requirement is that I want the email to be sent immediately, currently the application is showing me installed email applications in device where I can recompose the email before sending, I want to send the mail directly without showing installed applications.

Thanks

Answer

See these solutions:

solution 1

solution 2

and email with attachments

Comments