i cant send mail with java mail api in android studio

Viewed 29

I need to send an email when clicking on a button without using gmail clients. For this I am using the java mail api, and I am basing myself on the code of the following references:

https://netcorecloud.com/tutorials/send-email-in-android-using-javamail-api/?fbclid=IwAR0hiFPFrpajzldPB-MhnY-FI6n11aRaiY1_2sFCniHQhHvUa7BiAI8HON8

Sending Email in Android using JavaMail API without using the default/built-in app

I have tried placing some logs to print/debug things and I realized that the last part of the code is not executed Transport.send(message);

0 Answers
Related