Page 1 of 2
Sending form data via email in the easiest possible way!
Posted: Wed Jul 10, 2013 8:05 pm
by Jennifer Murphy6032839
I am creating an app which is basically just a 20 page form and I want to prompt the user for their email address and then the app will send them the form data is some type of file, zip, json etc. the format is not important. So first off, is this possible? and if so please help!!! I have seen other posts where people post code but I have no idea where that code would even go! So detailed help would be great..thanks!
Sending form data via email in the easiest possible way!
Posted: Wed Jul 10, 2013 8:15 pm
by Maryna Brodina
Hello! Please take a look at this post https://getsatisfaction.com/apperyio/.... Let us know if you have any specific questions.
Sending form data via email in the easiest possible way!
Posted: Wed Jul 10, 2013 8:17 pm
by Jennifer Murphy6032839
Yes I have had a look at this, but I have no idea where the code they are referencing would go within my app? Do you need custom code to perform this action?
Sending form data via email in the easiest possible way!
Posted: Wed Jul 10, 2013 8:28 pm
by Maryna Brodina
I would highly recommend you to start with SendGrid plugin http://blog.appery.io/2012/06/sendgri...
Sending form data via email in the easiest possible way!
Posted: Wed Jul 10, 2013 8:39 pm
by Jennifer Murphy6032839
Yes I have set Sendgrid up already and it is working but I am looking for a way to send the form data via this. I don't see any information regarding this on the help page for Sendgrid
Sending form data via email in the easiest possible way!
Posted: Wed Jul 10, 2013 8:57 pm
by Maryna Brodina
In sendgrid plugin you send message from textarea Message. You can change mapping in service, for example in text field and map from local storage variable. Before that you would need to form local storage variable the way you need. For example get data from form http://docs.appery.io/javascript-api/
Sending form data via email in the easiest possible way!
Posted: Thu Jul 11, 2013 11:05 am
by Jennifer Murphy6032839
Ok this seems helpful actually.
So to clarify if I save all form data elements individually as local storage variables and then on the service mapping page (for sendgrid) I map all of these local storage variables to the 'text' field then this should then send all the form data in the email? without the need to pull this data from the database?
Sending form data via email in the easiest possible way!
Posted: Thu Jul 11, 2013 12:34 pm
by Kateryna Grynko
Sending form data via email in the easiest possible way!
Posted: Fri Jul 12, 2013 9:24 pm
by Jennifer Murphy6032839
I have been trying to get this working but no luck. I have 4 local storage variables and I want their values to be sent via email using the sendgrid api. I have the email set up and working but only the message body is sending. So I have been experimenting by trying every combination and no luck. I have attached two screen shot of the service mapping. can you give me some advice please??
Sending form data via email in the easiest possible way!
Posted: Fri Jul 12, 2013 9:33 pm
by Jennifer Murphy6032839
Update: I have got it working now but can only sending one local storage variable per time not them all? what can I do to send multiple ones?