I'm trying to send a mail through an RPC call.
The server method uses Java mail api.
I used tha same method in different project and I'm able to send the
email both using Junit or Tomcat... but when I use it in my GWT
project, even if the RPC call gives the result "onSuccess", I have
this exception:
----------------------------------
Loading META-INF/javamail.providers from jar:file:/C:/documenti/
workspaces/javalou/provatesina/war/WEB-INF/lib/appengine-api-1.0-
sdk-1.2.6.jar!/META-INF/javamail.providers
DEBUG: loading new provider protocol=gm,
className=com.google.appengine.api.mail.stdimpl.GMTransport,
vendor=null, version=null
javax.mail.NoSuchProviderException: Unable to locate provider for
protocol: smtp
---------------------------------------------------------------------------------------------
I'm using GWT 1.7.1 without the AppEngine...
do I have to include something or fix something?
Thanks...
Jeff
> --
> 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.
>
>
On 30 Gen, 21:48, Cristian Nicanor Babula <nicanor.bab...@gmail.com>
wrote:
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
> > .
> > > >> 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 google-we...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
On 2 Feb, 14:42, "Martin D'Aloia" <martindal...@gmail.com> wrote:
> I think this is not GWT related topic (wrong group), but to try to help you
> if doesn't find the library is because you don't have them in classpath...
> check these items:
>
> - Remove all Google AppEngine related jars
>
> - If you use Java SE 6 then you only have to downloadhttp://java.sun.com/products/javamail/downloads/index.htmland include the
> necessary jars (see the README) (if you use Maven:http://download.java.net/maven/2/javax/mail/mail/)
>
> - If you don't use Java SE 6 you also needhttp://java.sun.com/javase/technologies/desktop/javabeans/jaf/downloa...
> > <google-web-toolkit%2Bunsu...@googlegroups.com<google-web-toolkit%252Buns...@googlegroups.com>
>
> > > > .
> > > > > >> 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
> > google-we...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
> > <google-web-toolkit%2Bunsu...@googlegroups.com<google-web-toolkit%252Buns...@googlegroups.com>