How to send an email from Quest 3 standalone app?
Hello, I am using SmtpClient which works well in the Editor for sending an email with attachments from the app. I am logging in to a Gmail account with 2FA and app password. var smtpClient = new SmtpClient("smtp.gmail.com", 587) { Credentials = new NetworkCredential(senderEmail, senderPassword), EnableSsl = true, }; But when I build the app and run it on the device it won't work. I added a custom manifest with Android networking permissions. I have no idea what else could be blocking it, and if it can be easily solved. I know there are third party services but I prefer to go for the simple solution if possible. Sending an email from the app sound to me like a basic feature that should be simple. Anyone else encountered this problem?1.3KViews0likes4CommentsEmail sender problem unity quest 2
Hello everyone, I'm having problems when sending a report by email from a medical app I'm developing for oculus quest 2, I have made the following code, it works perfectly sending the email from the editor, but when compiling the apk and want to send the email nothing happens, it does not send anything by mail. As additional information I can add that the gmail account has two-factor verification enabled, has the option of less secure applications enabled, and a special password for third-party applications created in the security sector for the app in question. I repeat the app sends perfectly while running with questlink from the editor but does not send it when the apk is compiled and installed in the viewer. Does anyone have any idea what is happening or how to solve it? Thank you very much My Code698Views0likes0Comments