How to send an Email from inside an app?
Hello, I have a "Contact Us" panel in game (view attached picture). I want the user to be able to fill in the message section, fill in the email section, and then click the send button and it to automatically send the email to my help email. I have done a lot of research on this however everything I find involves taking the user to their email app, or the internet. I want to be able to do it in the app, without leaving my app.
Thank you for your help in advance.
You could just try to forward all this data to a http://docs.unity3d.com/ScriptReference/WWW.html call that would just take care of this. Simple example would be to just have some URL where you attach the message and e$$anonymous$$ail address as parameters and then use those on the website to send the mail with. Or use a POST request if that's doable.
Or have a look at http://answers.unity3d.com/questions/11021/how-can-i-send-and-receive-data-to-and-from-a-url.html Should work just fine in your case :)
Let me get this straight, you are saying I need my own website to be able to pass data through it, correct?
I'm sorry for my confusion, I am new to this.
I am not sure that answer the question. That is me sending an email (notice how you are inserting your credential in the stmpclient). Pyesbubby is asking the other way round. I guess this should involve some php scripting.
Your answer
![](https://koobas.hobune.stream/wayback/20220612074241im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to send email in c# in Unity 2018.2.17f1 0 Answers
Sending email safely 1 Answer
how to send an email in unity C# 2 Answers
How can i give x point for 1 milisecond in game? (anyone? ) 0 Answers
Problems with 2D A* Pathfinding 2 Answers