About the pop up email.

Hi:

I am making a new app that let user send me text and give them answer. User have to pay by IAP to send the email. The email will list their question and their email address, so I can reply with the answer in my mail box.

Which function should I use to let user input some text and let the app send it to my email?
In the email and SMS sample code, they pop up the email window, which tells the user my mail box.
But i really need to make my email address be hidden. Otherwise if they know my email address, they will not need to pay to send me the questions. (I will use another email address to reply, so they don’t know my address used to receive the question)

In the case there is no way to do so, I thought about the PubNub may works. Is it possible to let PubNub to send the text to my email? Or I have to build a sever or database to receive the text?

Or is there some other 3rd party tool or services may help?

Thanks.
[import]uid: 81853 topic_id: 30272 reply_id: 330272[/import]

you can create your own server to do this. pubnub will be a costly affair. you can use php or any other web programming language and can do the mailing from there. you can call the php page from corona using network.request(). also can pass the mail content from corona as a post value. let me know if you want any help on this. you can mail me at renjith@technowand.com. [import]uid: 71210 topic_id: 30272 reply_id: 121298[/import]

@Renvis. Thanks for your help.

Yes, create my own server will be a good idea. But unfortunately, I can only play with Lua and java.
I have one more question:
In the case I need to send 2 strings and 1 image to server, and receive them in my email.
I just want to know how many hours it may takes for a pro PHP developer to set up such a server?
This will help me to decide if I will spend time to learn PHP or hire someone to set up the server.

Thank you so much. [import]uid: 81853 topic_id: 30272 reply_id: 121303[/import]

Here’s another idea:

When they make the IAP, have the program save out some unique number from Apple (a receipt id). Then, when your app composes the email, make sure to include a receipt ID that you can verify in the email. If you want to get real fancy, you can do some encoding, so the user can’t even tell what the coded number really is (you could add encoded date and time info, etc).

Then you could make a note to the user before they fill out the email to leave the “tracking info” or whatever it is alone, or their request may not be processed.

Anyways, I figure – why fight it? Just go with it, and include some info you can double check on your end to validate the transaction. [import]uid: 79933 topic_id: 30272 reply_id: 121304[/import]

you can create your own server to do this. pubnub will be a costly affair. you can use php or any other web programming language and can do the mailing from there. you can call the php page from corona using network.request(). also can pass the mail content from corona as a post value. let me know if you want any help on this. you can mail me at renjith@technowand.com. [import]uid: 71210 topic_id: 30272 reply_id: 121298[/import]

@Renvis. Thanks for your help.

Yes, create my own server will be a good idea. But unfortunately, I can only play with Lua and java.
I have one more question:
In the case I need to send 2 strings and 1 image to server, and receive them in my email.
I just want to know how many hours it may takes for a pro PHP developer to set up such a server?
This will help me to decide if I will spend time to learn PHP or hire someone to set up the server.

Thank you so much. [import]uid: 81853 topic_id: 30272 reply_id: 121303[/import]

Here’s another idea:

When they make the IAP, have the program save out some unique number from Apple (a receipt id). Then, when your app composes the email, make sure to include a receipt ID that you can verify in the email. If you want to get real fancy, you can do some encoding, so the user can’t even tell what the coded number really is (you could add encoded date and time info, etc).

Then you could make a note to the user before they fill out the email to leave the “tracking info” or whatever it is alone, or their request may not be processed.

Anyways, I figure – why fight it? Just go with it, and include some info you can double check on your end to validate the transaction. [import]uid: 79933 topic_id: 30272 reply_id: 121304[/import]