Hi

> I'm working on a web application using Google Web Toolkit (GWT). This
> application should have some mailing functionality. Therefore I have
> decided to use Java Mail API.
>
> I start by importing the Java Mail API to my bulid path. The file is
> called mail.jar.
>
> Then I import the mail package into the class by using the import
> statement (import javax.mail).
>
> Then a problem occurs if I test the application in hosted mode. I get
> the following error message:
>
> [No source code is available for type javax.mail.Session; did you
> forget to inherit a required module?]
>
> After a bit of research I figured out that I have to inherit another
> module into by modifying the XML file. The problem is simply that I
> can't figure out how to name the module correct.
>
> Is there someone who can help in order to solve the issue.

Your email suggestes that you're trying to send email fromt eh client
side, is that right? I don't beleive GWT can do this, so you'll need
to make an RPC call to ther server...

-- 
Thanks
Paul

Paul Grenyer
e: [email protected]
w: http://www.marauder-consulting.co.uk
b: paulgrenyer.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to