tags:

views:

515

answers:

2

Hi,

is there any possibility to send mail from phone to phone's email account without any User participation?

I have found Intent for this, but User has to press button to complete operation.

Possibly there are some approaches to solve this.

Thanks.

+1  A: 

This post presents one solution. It uses javax.mail to send mails in the background.

Stuart Thompson
A: 

Actually the whole point of this post is that you can't (easily?) use javax.mail on Android because of its dependency on the activation framework and thus AWT. That's why their application uses a modified version of the apache commons smtp library.