Search code examples
androidandroid-studioforgot-password

How to send response which got from server to the email?


I got my forgotten password from API. I want to send that password to the email address. I tried many options but still, I was unable to send that password.


Solution

  • The best way to do this is from your backend using SMTP headers it's more secure and efficient because it's sensitive data... Never let your client-side know about this kind of data type. You can do this using bash by following this tutorial.