Java Mail API Error

138 views
Skip to first unread message

Ahmed Shoeib

unread,
Dec 27, 2010, 9:37:18 AM12/27/10
to Google Web Toolkit
Compiling module com.fuoeg.testMail.TestMailAPI
Validating newly compiled units
[ERROR] Errors in 'file:/home/sho3ebovich/workspace/testMailAPI/
src/com/fuoeg/testMail/client/RootScreen.java'
[ERROR] Line 53: No source code is available for type
java.util.Properties; did you forget to inherit a required module?
[ERROR] Line 54: No source code is available for type
javax.mail.Session; did you forget to inherit a required module?
[ERROR] Line 58: No source code is available for type
javax.mail.Message; did you forget to inherit a required module?
[ERROR] Line 58: No source code is available for type
javax.mail.internet.MimeMessage; did you forget to inherit a required
module?
[ERROR] Line 59: No source code is available for type
javax.mail.internet.InternetAddress; did you forget to inherit a
required module?
[ERROR] Line 60: No source code is available for type
javax.mail.Message.RecipientType; did you forget to inherit a required
module?
[ERROR] Line 64: No source code is available for type
javax.mail.Transport; did you forget to inherit a required module?
[ERROR] Line 66: No source code is available for type
javax.mail.internet.AddressException; did you forget to inherit a
required module?
[ERROR] Line 68: No source code is available for type
javax.mail.MessagingException; did you forget to inherit a required
module?

Jason Essington

unread,
Dec 27, 2010, 9:59:40 AM12/27/10
to google-we...@googlegroups.com
You cannot send email from the client portion of a GWT application. You can only email from the server side portion.
The errors indicate that you were trying to use javamail from the client portion.

> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-we...@googlegroups.com.
> To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>

Ahmed Shoeib

unread,
Dec 27, 2010, 1:33:14 PM12/27/10
to Google Web Toolkit
thanks Jason

On Dec 27, 4:59 pm, Jason Essington <jas...@greenrivercomputing.com>
wrote:
> You cannot send email from the client portion of a GWT application. You can only email from the server side portion.
> The errors indicate that you were trying to use javamail from the client portion.
>
Reply all
Reply to author
Forward
0 new messages