How do I send an email from my mobile device?
In this lesson we will look at how to send an email from a LiveCode app.
revMail has now been expanded to work in the mobile space meaning that you can use revMail on your iOS device.
Create a basic stack with a field for the message and a button to send
1) Create a new stack
2) Set its width to 320 and its height to 480
3) Drag on a button and call it "send"
4) Drag on a field and call it "message"
Add code to the send button
Add this code to the send button
on mouseUp revMail "email@example.com",,"Test message from my mobile device", field "Message" end mouseUp
Parameter 1: The email address to receive the email
Parameter 2: Any cc email addresses
Parameter 3: Subject Line
Parameter 4: The message from our field
Test in the device
Your composed email will popup in the default device mail client ready for sending.