Thanks Noel - I'll leave it as it is for now as I have hit another
problem...
I am getting the following error:
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: IOException while sending message;
nested exception is:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type
text/plain; charset=us-ascii
I have searched round the net for a couple of hours now and there seem to be
a few possible reasons for this. I have tried the following without sucess:
1. Remove any duplcate mail and jaf jars. I have done this but there is one
of each in James.sar. Although I cannot remove these I removed all the
others and replaced them with the ones used by James. There was no change so
I switched everything back.
2. From one of Noels solutions, I re-downloaded James, JavaMail and JAF in
case they had become corrupt. Reinstalled them all but no change.
3. Apparently a webapps many not be able to access mailcap files in both the
mail and jaf jars so I placed a copy of both of these files into the
META-INF folder of my app but no change.
Does anybody have any other ideas?
Thanks
Dave
----- Original Message -----
From: "Noel J. Bergman" <[EMAIL PROTECTED]>
To: "James Users List" <[EMAIL PROTECTED]>
Sent: Sunday, April 25, 2004 8:49 PM
Subject: RE: Authentication
> > I am no doubt being blind but can anyone explain how I register an
> > Authenticator with a Session returned from JNDI?
>
> I don't know of any way to set a session's authenticator after the session
> has been instantiated, but you could call setPasswordAuthentication.
>
> --- Noel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]