Thank you very much for your explanation. I'll add a notice to the
users to clarify this behavior.

Thanks again
Lorenzo

On Jun 14, 9:19 pm, "Ikai L (Google)" <ika...@google.com> wrote:
> Yes, this is intended. Create a new admin email address and ask users for
> their information. We include this information to balance being able to send
> emails from logged in users, and allowing users to recognize if GAE apps are
> spoofing their emails.
>
> On Mon, Jun 14, 2010 at 5:12 AM, l.denardo <lorenzo.dena...@gmail.com>wrote:
>
>
>
> > Hello,
> > I'm cross posting from general GAE group since it's a major issue and
> > related to Java API use.
>
> > I have an application deployed in GAE (Java) using Mail API.
> > The app is restricted in access to users from my Google Apps domain.
> > To receive feedback from users, I send from client (GWT + gwt
> > dispatch) an action containing a subject and message.
> > On server side I prepare an email message, set the logged in user as
> > the sender and send the message to a mail group. Code follows, User
> > management is backed by UserService
>
> >            Message msg = new MimeMessage(session);
> >            String userID = authenticator.getCurrentUserIdentifier();
> >            msg.setFrom(new
> > InternetAddress(authenticator.getUserDetails(userID).getEmail()));
> >            msg.addRecipient(Message.RecipientType.TO,
> >                             new
> > InternetAddress("xxxxxxxxxxxxx...@xxxxxxxxxxxxxxxx.it"));
> >            msg.setSubject(action.getTitle());
> >            msg.setText(action.getMessage() );
> >            Transport.send(msg);
>
> > The point is that users can find that email in their "sent mail"
> > folder in Google Mail, even if they didn't actively send the message
> > by themselves (they use a GWT developed form, not a mail agent).
>
> > I would like to know if this is an attended behaviour, and if it can
> > be turned off in some way: I think it's a bit disappointing for users
> > to find mails they did not send in their own folders, since this can
> > lead the user to think our app can take control over their personal
> > folders, which is in fact not true.
>
> > Java mail documentation in
> >http://code.google.com/appengine/docs/java/mail/
> > did not help.
>
> > Thanks for clarification
> > Regards
> > Lorenzo
>
> > --
> > 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
> > google-appengine-j...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> > .
> > 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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to