If you use the Java Mail API (i.e. the javax.mail classes), you should
be able to run the snippet from any J2EE application server, but you
will have to set up your own SMTP server to actually send the mail.
You won't be able to send mail using App Engine from an application
that isn't deployed to App Engine. Does this answer your question?

- Jason

On Aug 18, 1:51 am, chitgoks <[email protected]> wrote:
> does this code have to be run inside th google app server?
>
> or can this code be run anywhere (e.g. my own remote server and just
> use the jar file to be able to use app engine'smailclasses?)
>
> im switching from gmail to using google app engine's gmail. but, i
> know the settings and code are different this time. the site does not
> provide a code how to do it, just snippets. does anyone have  a
> working code here? thank you
>
> On Aug 14, 3:51 pm, Richard Le Mesurier <[email protected]>
> wrote:
>
> > Hello Jason, np for late reply - I can see some changes have been made
> > at Google's end since I first posted.
>
> > Yes, I get the same behaviour you are now referencing, which is a big
> > improvement from when I first posted - I noticed the change a few days
> > back without changing any of my code.
>
> > - The RecipientType.TO receives an email with his name in the TO
> > field, and a blankCCfield (I expected him to see theCCname in the
> >CCfield).
>
> > - The RecipientType.CCreceives an email with his name in the TO
> > field, and alsoin theCCfield (I expected him to see the TO name in
> > the TO field).
>
> > - The "bounce" message that looked like an error no longer happens,
> > which means that I can start using this functionality (which I am
> > happy about).
>
> > The behaviour is now almost as if I had BCCed both recipients, because
> > they cannot see that they were both sent the email - for me that is
> > not important, but it is still not "normal".
>
> > I will raise this on the issue list so that it can be tracked
> > correctly to the point where "normal" TO andCCbehaviour is
> > experienced.
>
> > Thanks for following up and showing me where to escalate it,
> > Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to