BTW this is the code we're using:

WOMailDelivery.sharedInstance().composePlainTextEmail(
                        [EMAIL PROTECTED],  
                        new NSArray([EMAIL PROTECTED]), null, 
                        subject.toString(), message, true);

WOMailDelivery.sharedInstance().composePlainTextEmail(
                        someconstant.constant_name,  
                        new NSArray(someconstant.constant_name), null, 
                        subject.toString(), message, true);


Hope you can help me!

Thanks a lot in advance
Mersida

--- On Fri, 9/5/08, Mersida Kurti <[EMAIL PROTECTED]> wrote:
From: Mersida Kurti <[EMAIL PROTECTED]>
Subject: WOMailDelivery error message
To: "WebObjects Dev" <[email protected]>
Date: Friday, September 5, 2008, 10:54 AM

Hi,

We're using WOMailDelivery with Java 1.5, mac intel, wo 5.4.2 and I'm seeing 
the following:  Anything changed with WOMailDelivery since WO 5.2.4?
The app runs, however, it does not send the email its supposed to.

Thanks,
Mersida

[2008-9-5 10:50:13 EDT] <Thread-2> com.webobjects.foundation.NSForwardException 
[com.webobjects.foundation.NSForwardException] 
java.lang.reflect.InvocationTargetException:com.webobjects.foundation.NSForwardException
 [java.lang.reflect.InvocationTargetException] 
null:java.lang.reflect.InvocationTargetException
    at com.webobjects.appserver.WOMailDelivery$Dy.call(WOMailDelivery.java:522)
    at com.webobjects.appserver.WOMailDelivery$Dy.call(WOMailDelivery.java:511)
    at
 
com.webobjects.appserver.WOMailDelivery$ThreadedTransportSender.run(WOMailDelivery.java:498)
Caused by: com.webobjects.foundation.NSForwardException 
[java.lang.reflect.InvocationTargetException] 
null:java.lang.reflect.InvocationTargetException
    at com.webobjects.appserver.WOMailDelivery$Dy.call(WOMailDelivery.java:588)
    at com.webobjects.appserver.WOMailDelivery$Dy.call(WOMailDelivery.java:520)
    ... 2 more
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
 com.webobjects.appserver.WOMailDelivery$Dy.call(WOMailDelivery.java:586)
    ... 3 more
Caused by: javax.mail.NoSuchProviderException: No provider for Address type: 
rfc822
    at javax.mail.Session.getTransport(Session.java:516)
    at javax.mail.Transport.send0(Transport.java:155)
    at javax.mail.Transport.send(Transport.java:81)
    ... 8 more





       _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/muc154%40yahoo.com

This email sent to [EMAIL PROTECTED]


      
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to