opensubscriber
   Find in this group all groups
 
Unknown more information…

k : keelgroup@lists.keelframework.com 28 January 2006 • 4:56AM -0500

Re: [Keelgroup] Mailer
by Michael Nash

REPLY TO AUTHOR
 
REPLY TO GROUP




Gene:

I'm sure it doesn't help much, but I can reproduce that error as well
here...

Mike

On Fri, 2006-01-27 at 14:50, Gene McCullough wrote:
> hmm.  i updated my local copy.  downloaded javamail1_3_1_upd from
> Sun's site,  unpacked mail.jar to my repository under javax.mail/jar
> and renamed it to mail-1.3.1.jar
> my project.xml snippet
>
>     <dependency>
>       <groupId>javax.mail</groupId>
>       <artifactId>mail</artifactId>
>       <version>1.3.1</version>
>     </dependency>
>     <dependency>
>       <groupId> javax.activation</groupId>
>       <artifactId>activation</artifactId>
>       <version>1.0.2</version>
>     </dependency>
>
> same exception thrown.  Any help?  I also deleted my cache, not
> thinking it would help, but tried that anyway.
>
> thanks
> gene
>
> On 1/27/06, Sasvata Chatterjee <sasvata.chatterjee@gmai...> wrote:
>         I think the svc-mail-javamail deps can safely be updated to
>         mail-1.3.1
>         and activation-1.0.2, I have been using that in my project's
>         project.xml with no issues.
>        
>         On 1/27/06, Gene McCullough <gene.mccullough@fs-o...> wrote:
>         > I may have jar conflict here, not sure.  I notice that
>         httpunit requires
>         > javax.mail mail-1.3.1, and svc-mail-defaultmail requires
>         mail mail-1.0.
>         >
>         > I've sent email with keel in the past, but now that code is
>         throwing the
>         > following exception:
>         >
>         > java.lang.UnsupportedOperationException: Method not yet
>         > implemented
>         >     at
>         javax.mail.internet.MimeMessage.<init>(MimeMessage.java:89)
>         >     at
>         >
>         org.keel.services.mail.javamail.DefaultMailer.send(DefaultMailer.java
>         > :236)
>         >     at
>         >
>         org.keel.services.mail.javamail.DefaultMailer.send(DefaultMailer.java:179)
>         >
>         > from my code:
>         > //send a message to test email functionality
>         >                 mailer.setFromAddress(fromAddress);
>         >                 mailer.setReplyToAddress(replyTo);
>         >                 mailer.setSubject(subject);
>         >                 String[] sendTo = { " address1@vagu...",
>         >                             " address2@vagu..." };
>         >                 mailer.setBccAddress ( sendTo );
>         >                 mailer.setMessage("PING");
>         >                 mailer.send ();
>         >
>         > any thoughts?
>         >
>         > --
>         > Gene McCullough
>         > http://keelframework.org/docs/
>         > keelgroup mailing list
>         > keelgroup@list...
>         >
>         http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>         >
>         >
>         >
>         http://keelframework.org/docs/
>         keelgroup mailing list
>         keelgroup@list...
>         http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>
>
>
> --
> Gene McCullough
>
> ______________________________________________________________________
> http://keelframework.org/docs/
> keelgroup mailing list
> keelgroup@list...
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com

http://keelframework.org/docs/
keelgroup mailing list
keelgroup@list...
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.