SMTP gmail can't send in real device in kotlin
Everyone.
I am trying to send gmail using SMTP in kotlin.
It works on android emulator as well but does not work in real devices such as Sumsung tablet or phone.
I tried several ways for sending gmail but everything works on emulator but does not work on real devices.
val stringSenderEmail = "
waymolife@gmail.com"
val receiverEmail = InternetAddress(recipients)
val stringPasswordSenderEmail = "ikdb jeif wlzr upcd"
val stringHost = "
smtp.gmail.com"
val...