0

I have an app from which we can send emails .I need some help with the email sending. If the the internet is not available need to store the mail and when connection available send the saved mails.Which is the effective option to save the draft mails ?(Like draft mail in gmail, where gmail stores draft mails ?) store db ?

arun
  • 245
  • 1
  • 3
  • 12

2 Answers2

0

If the the internet is not available, the device will try to send it when the internet is available again. Or you can download some Apps if you like.

Toon Krijthe
  • 52,876
  • 38
  • 145
  • 202
Antoon
  • 1
  • 1
0

I would use a db with encrypted e-mails using something like AES like this or this.

Community
  • 1
  • 1
HericDenis
  • 1,364
  • 12
  • 28
  • Not really, I never tried to figure out that. But I think should be something like that, encrypt the messages and than save it on sd card, the saving method you can choose by yourself as a SQLite db or some custom file(s), maybe just saving a single encrypted file per draft is easier and faster. – HericDenis Oct 18 '12 at 11:02
  • you're welcome! When you got some results please share it with us – HericDenis Oct 18 '12 at 11:08