mobileComposeMail? - Working now

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
DR White
Posts: 689
Joined: Fri Aug 23, 2013 12:29 pm
Location: Virginia, USA

mobileComposeMail? - Working now

Post by DR White » Sun Apr 30, 2023 10:00 am

I am wanting user feedback on my app.

So I have a button with the following code (It works fine on Android devices but not iOS (I have tried three different peoples iPhones):
if the environment is "mobile" then
put empty into tAttachment
---------------------------
if mobileCanSendMail () is true then
put empty into tAttachment["data"]
put "text/plain" into tAttachment["type"]
put "Greetings.txt" into tAttachment["name"]
mobileComposeMail "PLC Simulator 2 Performance Issues","davidwhiteapps@gmail.com",,,,tAttachment
else
Answer "This device does not have email turned on"
end if
end if
Pass MouseUp
Any thoughts on why this is happening?

Thanks,

David

DR White
Posts: 689
Joined: Fri Aug 23, 2013 12:29 pm
Location: Virginia, USA

Re: mobileComposeMail? - Working now

Post by DR White » Sun Apr 30, 2023 5:26 pm

Over 12 hours after I sent the Gmail, it showed up in my Inbox.
I don't know why it took so long, but it did eventually work.

Disregard this posting.

Thanks,

David

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”