Sending emails without user interaction - authentication issue
<p>im trying to send an email from my app without the user having to confirm. I' ve had some success with the winning answer from this post: <a href="http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-android-app">sending-email-in-android-using-javamail-api-without-using-the-default-android-app</a>
However, this requires to put the email password into the code itself. I'd rather not do this for security reasons. Also I dont want to ask the users for their passwords. That would probably confuse them. (i would get sceptical if an app would aks me for my gmail pass)</p>

<p>Is there any way to avoid having to specify the sending password, maybe by using AccountManager to authenticate with the phone's gmail account?</p>

<p>Or, how would i go about enctypting the password if i chose to use my own?</p>

<p>Thanks!</p>
