On 27.12.2017 15:28, Herman Reintke wrote:
> Hi,
>
> From my android application I want to send an email using K9.
>
> The code I am using is :
>
> |
> IntentemailIntent
> =newIntent(Intent.ACTION_SENDTO);emailIntent.setData(Uri.parse("mailto:[email protected]?subject=Removed&body=This"));emailIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);startActivity(emailIntent);
> |
>
> What happens is that K9 gets focus and enters "compose mode" with the
> data from the Intent.
> I still have to push the "send button" for actual sending.
>
> What I would like is that the email is sent without maual interaction.
>
> Is there a way to achieve that ?
No, that's not possible. Intents are not designed to start an action
without user consent.
--
You received this message because you are subscribed to the Google Groups "K-9
Mail" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.