[google-appengine] how to submit form from static index.html

2008-12-15 Thread rakf1
I have a app running with static files, i have a form in the index.html which has to be emailed back to me onsubmit. Is there a way to do this? I have no experience with python, can this be done like with php? I was able to find some documentation on sendmail: http://code.google.com/appengine/docs

[google-appengine] Re: how to submit form from static index.html

2008-12-15 Thread rakf1
il > apihttp://code.google.com/appengine/docs/mail/ > for details. > > On Dec 16, 1:28 pm, rakf1 wrote: > > > I have a app running with static files, i have a form in the > > index.html which has to be emailed back to me onsubmit. Is there a way > > to do this?

[google-appengine] Re: how to submit form from static index.html

2008-12-15 Thread rakf1
here is how i have setup the app.yaml, email.py and form.html, let me know whats wrong ??, how should i setup handler for email.py in app.yaml ?? app.yaml: - ... ... handlers: - url: (.*)/ static_files: static\1/index.html upload: static/index.html - url: / static_dir: static -

[google-appengine] Re: how to submit form from static index.html

2008-12-16 Thread rakf1
thanks Alexander, the setup and code worked, one more help, - how do i unescape string in python that was escaped in javascript and submitted?? I'm submitting html that is escaped from the form - escape(data) How do I unescape the self.request.get('data') in python and then mail it ? javascrip

[google-appengine] Re: how to submit form from static index.html

2008-12-16 Thread rakf1
I'm trying to email content that is in a container on the webpage, so i'm submitting using a hidden input tag with value=escape (div.innerHTML) On Dec 16, 6:18 pm, Alexander Kojevnikov wrote: > > thanks Alexander, > > > the setup and code worked, > > > one more help, - how do i unescape strin

[google-appengine] Re: how to submit form from static index.html

2009-02-06 Thread rakf1
Hi Alex, Is there a way to just send mail and not redirect the page? I'm trying to send mail using a ajax popup window, so I want to submit and write a message in a , and dont want the page to reload/ redirect. Thanks Rak On Dec 16 2008, 12:54 am, Alexander Kojevnikov wrote: > > here is how i