Android Question Android Network is unreachable - ENETUNREACH (SMTP)

BarryW

Active Member
Licensed User
Longtime User
Hi. I am using Net Lib for sending Email and I successfully execute it on Android Version (KitKat And Marshmallow)
but when i tried it on Lollipop (5.0 and 5.1), SMTP Lib returns false on Email Sent event. I Tried to log the last exception and i get "Android Network is unreachable - ENETUNREACH". Also all permission are granted. And to check if i am on network i tried to browse on chrome app and it works. Then is tried to do downloading on my app and also it works.

My only problem is that sending false on email sending(SMTP Android 5.0 and 5.1).
Hope someone can help.
Tnx
 
Last edited:
Top