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
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?
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
-
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
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
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