Android Question Problem with POP3 and SMTP in Android 5.1

Juanll2003uy

Member
Licensed User
Longtime User
Hi, i have an app which works fine in Android 4.
It uses POP3 tu receive emails and SMTP to send emails.
The problem is in Android 5.1, it doesnt work.
In the code SMTP.Send and POP.ListMessages the app stop and dont work.
App permission is disabled in my Android.
Is like it hasnt acces to the internet, but internet is right.
Thanks..
 

Juanll2003uy

Member
Licensed User
Longtime User
If i add this to the manifest:
AddReplacement(<uses-permission android:name="android.permission.INTERNET"/>,)
When i try to send or receive it shows an error:
"No internet conection"
But in android 4 i dont need this line to work.
It looks like the app dont have access to internet :S
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Juanll2003uy

Member
Licensed User
Longtime User
Ok.
I change to addpermission but it does the same problem, i Dont have an error but it doesnt work.
Is there some known problem with pop3 or smtp in android 5.1 or is my problem particularly?
I tought that was a permission problem but no.
The strange is in previus versions of Android it works fine
 
Upvote 0

Juanll2003uy

Member
Licensed User
Longtime User
Well, the problem was fixed.
Very strange.
I was sending and receiving in the Main Layout, i made a new layout only to send and receive and it works!
Thanks!
 
Upvote 0
Top