A particular device may have an Email application different from the one in Android sources (e.g. HTCs and the new Samsungs come to mind).
The user may install any of the third-party Email clients (K9, ProfiMail, Mail Droid, Enhanced Email, Yahoo Mail, Yandex Mail, .... ) The user may not have any email accounts configured. The user may not want that email sent in the first place. The user may not want to enter his email credentials into your application. In short, your options are: 1) Use the standard intent to let the user bring up his preferred email client, where the user will decide if he's going to send that email or not 2) Use some kind of email library, most likely not with the user's credentials, but some others (e.g. a Gmail account you will set up for this purpose). JavaMail comes from "enterprise" Java, but I understand there are successful ports to Android. Do some more Googling, they're out there. Or you could learn a bit about SMTP and write some code yourself - the "S" in SMTP stands for "Simple" :) -- Kostya 15 января 2012 г. 17:59 пользователь ambi <[email protected]> написал: > Hi, > > My requirement is to build an app that will send email to user at > regular intervals but without any input from the user. Is there any > way to do that? I am aware of the javamail-android available at the > following link but would like to know of any other way (perhaps > something mentioned in the official android documentation). > > http://code.google.com/p/javamail-android/ > > I am bit sceptical to use javamail-android because the source code for > the three jar files namely "additionnal.jar, mail.jar, activation.jar" > is not available. > > > > Thanks, > Ambi. > > -- > 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 -- 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

