You can't really use javax.mail on the client side, it isn't supported by the emulation library.
you'd have to send your data to the server and use javamail from there. -jason On Apr 29, 2010, at 11:20 AM, Felipe Guarda wrote: > Yes, i`m using javax.mail in the clientside code. where is the correct > place? > > Felipe > > On Apr 29, 1:34 pm, "[email protected]" <[email protected]> wrote: >> Are you using javax.mail in the clientside code? (If so, you can't do >> this). Otherwise you just need to add thecorrect classpath entriescorrect >> classpath entries >> to the run configuration. >> >> On Apr 29, 10:26 am, Felipe Guarda <[email protected]> wrote: >> >> >> >> >> >>> I think i may have a problem with which JRE the appengine hosted >>> browser is using to compile. In eclipse my code recognizes the >>> various classes I'm importing for my JavaMail use (no precompile >>> errors). However, when I Run As a web app, the GWT Hosted Mode >>> console reports the following: >>> [ERROR] Line 28: The import javax.mail cannot be resolved >>> [ERROR] Line 29: The import javax.mail cannot be resolved >>> [ERROR] Line 30: The import javax.mail cannot be resolved >>> [ERROR] Line 31: The import javax.mail cannot be resolved >>> [ERROR] Line 32: The import javax.mail cannot be resolved >>> [ERROR] Line 33: The import javax.mail cannot be resolved >>> [ERROR] Line 34: The import javax.mail cannot be resolved >>> [ERROR] Line 81: Session cannot be resolved to a type >>> [ERROR] Line 81: Session cannot be resolved >>> [ERROR] Line 86: Message cannot be resolved to a type >>> [ERROR] Line 86: MimeMessage cannot be resolved to a type >>> [ERROR] Line 87: InternetAddress cannot be resolved to a type >>> [ERROR] Line 88: Message cannot be resolved >>> [ERROR] Line 89: InternetAddress cannot be resolved to a type >>> [ERROR] Line 92: Transport cannot be resolved >>> [ERROR] Line 93: MessagingException cannot be resolved to a >>> type >> >>> Any help would be appreciated... >> >>> -- >>> 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 >>> athttp://groups.google.com/group/google-web-toolkit?hl=en. >> >> -- >> 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 >> athttp://groups.google.com/group/google-web-toolkit?hl=en. > > -- > 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. > -- 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.
