On Nov 21, 2009, at 12:12 AM, manoj wrote: > It is working fine, I mean sending the mail to the reciever. > > But it is launching another Email app (android default app I guess). > But I dont want it to be launched, I want directly send the mail to > reciepent.
Then you will need to write ESMTP client code and include that in your app, I expect. Or find an available library and download it. (ESMTP = the actual behind-the-scenes mail sending protocol.) This will, admittedly, be a pain since you will need to figure out the appropriate server to send to, whether or not it needs authentication, etc. I don't think there's any way to make the system e-mail client send the mail silently/without user intervention. > My mail goal is that, the user should not know that the mail is > sending. The default Email app (android's) should not be visible to > the user. The mail sent process should be done in background. Honestly, as a user, I prefer to know when my phone is sending e-mails on my behalf. Being able to review and send the e-mail myself in the mail client thus seems, to me, to be the 'correct' behavior. Especially since you, the developer, then get the benefit of not-needing-to-muck-about-with-ESMTP, as the e-mail client does all of the actual formatting/authentication/sending logic for you. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

