开发者

Send Email as Notification

开发者 https://www.devze.com 2023-01-31 03:54 出处:网络
Hey, i\'m creating an开发者_运维百科 application and would like to know, is there a way to automatically send an email from my application, lets say at 3:00, automatically without any input from the u

Hey, i'm creating an开发者_运维百科 application and would like to know, is there a way to automatically send an email from my application, lets say at 3:00, automatically without any input from the user. So instead of creating an intent to open gmail then user has to hit 'send' is there a way to just send it? Thanks!


This is all you need:

  • Sending Email in Android using JavaMail API without using the default/built-in app
  • Using AlarmManager to Schedule Activities on Android


I don't think so (I look forward to an answer that proves me wrong) but I think there are security concerns for that. BUT what I know you could do is make a webservice call that could send an e-mail (on behalf of the user) that has the reply-to set to the user's e-mail address.

0

精彩评论

暂无评论...
验证码 换一张
取 消