sendmail works when I run my app but not when another user uses it in a packaged app
3 views (last 30 days)
I made an app in app designer and part of the app asks the user to input their e-mail address and then the app sends them a "report" of sorts at the end of using the app when they push a "submit" button. The code I write is below.
The issue here is that when I push the submit button, it works and sends me the e-mail. When I sent it out to a friend to test drive, it gave them a "ding" and didn't send the e-mail. Is there anything not packaged up with the app when you create a standalone desktop app that might prevent that functionality?
out_email=input('email','type the recipient email');
filepath=[cd '\' filename];
user = getenv('username');
mail = 'email@example.com'; %my ghost GMail email address
password = 'mypassword'; % ghost GMail password
props = java.lang.System.getProperties;
delete(filepath) %I don't want the user to necesarrily have a copy of the file stored for them - only sent to the provided email
Looking forward to suggestions/thoughts.