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("[email protected]"));
            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 [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