27 Mar 2012 10:42 PM #1
Answered: Sending form via Email
I wrote a little form with some textfield, some radiofields and a fileuploadfield.
What I want the form to do is to send an email with what the user filled the form with.
The first thing I tried was using "mailto: firstname.lastname@example.org" as the url of the form. I know this may not be the appropriate way, but for what i need this for it should really be enough i guess.
But this just opens me an empty mail, Firebug shows nothing ... so I guess in addition to being not the appropriate way, it just doesn't work the way I thought.
So my question is: Is there any way to simply send the form via email or do I have to write a server component to do so? Or may I use PHP? If so, can anyone tell me, where I can find how to do it in PHP, because I haven't done anything with PHP yet ...
Thanks in advance and greetz
You will need some server side script (there are many email scripts for PHP) to do everything like file upload and such.
28 Mar 2012 7:01 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You will need some server side script (there are many email scripts for PHP) to do everything like file upload and such.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
28 Mar 2012 9:17 PM #3