Hey guys,
I have the following problem: i created an app that receives mails via POP3 every couple of minutes (as a service) and sends mails via SMTP by button click.
It all works until approx. 24h have passed. Then I have to restart my phone in order to make it work again.
First I declared both SMTP and POP3 as global variables and initialized them when needed, then I tried declaring and initializing them in the subs in which they are needed. Both ways work fine for some time, then the same problem occurs. But there's no exception thrown (I did it with toastmessageshow to realize when some error occurs, but obviously it didn't).
Maybe one of you guys could give me a hint.
Greetings from Germany
I have the following problem: i created an app that receives mails via POP3 every couple of minutes (as a service) and sends mails via SMTP by button click.
It all works until approx. 24h have passed. Then I have to restart my phone in order to make it work again.
First I declared both SMTP and POP3 as global variables and initialized them when needed, then I tried declaring and initializing them in the subs in which they are needed. Both ways work fine for some time, then the same problem occurs. But there's no exception thrown (I did it with toastmessageshow to realize when some error occurs, but obviously it didn't).
Maybe one of you guys could give me a hint.
Greetings from Germany