(Tip: more white space in your emails, this could just have been a side
effect of your client)

1. Probably just convention, and the fact that many .info TLDs are spam
domains
2. Why not just override the servlet's init() method? This is a much more
standard approach.
3. You need to set the "from" field to an Admin email (see admin console
under "permissions" or the current logged in User. I'm not sure what you're
doing here though - are you sending email or are you receiving email? If you
are receiving email, why are you calling Transport.send()? Are you receiving
and forwarding?
4. There's nothing wrong with storing the params in web.xml from a security
standpoint.

On Wed, Jul 28, 2010 at 3:25 PM, sixcorners <[email protected]> wrote:

> My first question: is there any reason in particular that packages
> don't start with info? It always seems to be net, org, and com which
> are the TLDs of whoever is developing the code, but I haven't seen
> info. (I think I also checked for and didn't find examples of other
> TLDs but I don't remember.)
> Here is my code: http://pastebin.com/aTkZ2FGM
> My second question: Is there anything bad about initializing the
> session and property variables statically? It's throwing a null
> pointer exception whenever I try to get the servlet's init params.
> Third: Even when I wasn't getting the problem with the null pointer,
> and session and properties were initialized in the doPost() function,
> the code was not sending email. Is there anything obviously wrong with
> the code?
> Fourth: Is it ok to store API keys and things in the server init
> parameters in web.xml? Is there a better way to store them? As long as
> the server isn't setup to return the web.xml file when it is
> requested, it should be secure right?
> Thanks for your time.
>
> --
> 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]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

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