Send and E-Mail from Unity
Example demo Scene and Basic scripts to drive the System.Net.Mail.SmtpClient
from Unity inspector and UI.
- Should change Internet access from auto to require in
Player settings --> other settings --> configuration
- Try to create a application password for your gmail from the following link and use the same as SMTP account password in the MailSingleton Script.
- https://security.google.com/settings/security/apppasswords
- https://stackoverflow.com/a/70435444/7103882