Android How to send mail without user intervention?

is it possible to send mail from the phone to the phone email account without user intervention?

I found an Intent for this, but the user must click a button to complete the operation.

Perhaps there are some approaches to solving this issue.

Thanks.

+3
source share
1 answer

Correct me if I am wrong, but I will judge that the user knows another telephone email and knows how to add it to the program. The best way, in my opinion, is to either use the task application that the user will need to configure it, or use flashable zip to install the script and run it using crontab.

If you have Busybox in your phone, you can access crontaband sendmail. The idea is to write a small shell script with sendmailand run it on the schedule you want, thanks crontab. This way you can send emails without user confirmation or without having to click or do anything at all.

Android, . , dumpsys battery , , , script, , , , .

+1

Source: https://habr.com/ru/post/1717768/


All Articles