Hello devs. I am implementing an OTP functionality...
# android
i
Hello devs. I am implementing an OTP functionality to send email to users from android. I have tried SMTP but something seams alittle bit off. Its not sending mails. Can someone help me archieve this. Any resource and guidance will be highly appreciated. An alternative to achieve the same is also welcomed. Here is how i did it.
not kotlin but kotlin colored 6
a
I have repo that written in Java and it was working before but now I am not completely sure if you would like to try. https://github.com/arpit999/SendMail https://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-built-in-a
i
Thanks @arpitpatel009. Found out that google nolonger accept less secure apps. Fixed this using a one tome passkey that is generated as shown in this link. https://stackoverflow.com/questions/72480275/is-there-a-work-around-google-disabling-less-secure-apps