Send a text string to our email or server

We’d like to give our customers the option of signing up for a monthly newsletter from within our app. The user would see a text box, enter their email address, touch enter and it would send the text to us, either through email or directly to our server.

I’ve found a few posts where people were using the system.openURL(“mailto:”) method but it has some problems. Apparently it opens the default email client, but if the user sends or cancels the email they stay within the email client.
In this specific thread: http://developer.anscamobile.com/forum/2011/09/22/send-email-within-app
it is suggested to use a network.request() call.
That seems like the better idea since we just want that one string to get to us somehow.

Now my real question is: How would I use the network.request() call? How would I set up on our server so that we can process the request properly?
We have a domain registered and hosting space so I’m sure we could set something up there.

Any help would be appreciated. [import]uid: 69531 topic_id: 18016 reply_id: 318016[/import]

Here’s the API link for network.request(); http://developer.anscamobile.com/reference/index/networkrequest

If you look at that page PLUS the comments, there’s a bunch of really useful info related to getting this all set up.

Peach :slight_smile: [import]uid: 52491 topic_id: 18016 reply_id: 68865[/import]

Thanks for the response, I think I understand what I’ve got to do in the Corona app, but still not sure what to set up on our servers.

So I guess my issue is more of a web site issue than a corona issue.

I’m guessing I just need to set up a page on our website that handles the requests and saves the data somewhere for us.

EDIT:
I think I’ve figured out a simple PHP script that will do this for me. [import]uid: 69531 topic_id: 18016 reply_id: 68917[/import]