Hi,
as far as I know, when sending mail using GAE with javamail, you cannot use
attachments,
because this attachments use
Message->Multipar->DataSourceHandler->input/output
and, acording to gae's documentation, you cannot use files in GAE.

the error means that class cannot be used in gae.

cheers,

R. F.

On Tue, Mar 15, 2011 at 10:49 AM, Alberto Sandoval Sotelo <
[email protected]> wrote:

> I get this error only in development engine:
>
> com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
> abstract java.lang.String
> pruebadocs.client.GreetingService.greetServer(java.lang.String) throws
> java.lang.IllegalArgumentException' threw an unexpected exception:
> java.lang.NoClassDefFoundError: javax.mail.internet.MimeMultipart is a
> restricted class. Please see the Google  App Engine developer's guide for
> more details.
>
> Please help me i dont know what else to do.
>
> I tried adding mail.jar to my lib directory and did't work either.
>
> I have las versions of the SDK's.
>
> --
> 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.
>



-- 
*-Information Technologies Engineering-*
ausencia de evidencia  ≠  evidencia de ausencia
http://culturainteractiva.blogspot.com/

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