On Mon, Nov 3, 2008 at 7:19 AM, Prakash <[EMAIL PROTECTED]> wrote:
>
>
> I tried to make use of the Mail API as provided in the gallery page. I
> am using the web application as provided in
> http://www.42topics.com/dumps/appengine-search/doc.html
>
>
> I am trying to mail this content to a mail id. It is giving me issues

Define 'issues'. Are you getting error messages? Messages dont get
sent. Messages are currupted?

Where are you getting this issue, in the SDK (what version) or a deployed app?

etc

> while doing so:
>
>      results = get_search_results('Hello', query)
>      results = results['Result']
>      payload = dict(results=results, query=query)
>      resp = template.render('index.html', payload)
>      message = mail.EmailMessage (sender="[EMAIL PROTECTED]",
> subject = "You searched for string " + query)
>      msg = MIMEText(resp)
>      message.to = mail
>      message.body = msg.as_string()
>      message.send()
>
> Please let me what wrong I am doing here.
>
> Regards,
> Prakash
>
> >
>



-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to