You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Kaci AGOUN <ka...@glou-prods.net> on 2003/07/12 14:41:38 UTC
question about listserv
How can I write a space character in the subjectprefix ?
Actually this is the configuration :
<subjectprefix>[contact]</subjectprefix>
Everything works fine but I'd like to have "[contact] subject" instead of
"[contact]subject".
Thanks :)
++KC
--------------------------------------------------------
http://www.pixelfr.org/
http://www.astikot-prod.com/
http://www.glou-prods.net/
http://www.genese-darras.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: question about listserv
Posted by "Noel J. Bergman" <no...@devtech.com>.
> How can I write a space character in the subjectprefix ?
You need to use:
<subjectprefix xml:space="preserve">[contact] </subjectprefix>
The xml:space="preserve" is a standard feature of XML.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: question about listserv
Posted by Kaci AGOUN <ka...@glou-prods.net>.
It works !! thanks a lot :)
++KC
--------------------------------------------------------
http://www.pixelfr.org/
http://www.astikot-prod.com/
http://www.glou-prods.net/
http://www.genese-darras.com/
----- Original Message -----
From: "John Hornsby" <jo...@dsdata.co.uk>
To: "'James Users List'" <se...@james.apache.org>
Sent: Saturday, July 12, 2003 3:10 PM
Subject: RE: question about listserv
> Try:
>
> <subjectprefix xml:space="preserve">[contact] </subjectprefix>
>
> John
>
>
>
> > -----Original Message-----
> > From: Kaci AGOUN [mailto:kacy@glou-prods.net]
> > Sent: 12 July 2003 13:42
> > To: James Users List
> > Subject: question about listserv
> >
> >
> > How can I write a space character in the subjectprefix ?
> > Actually this is the configuration :
> > <subjectprefix>[contact]</subjectprefix>
> > Everything works fine but I'd like to have "[contact]
> > subject" instead of
> > "[contact]subject".
> >
> > Thanks :)
> >
> > ++KC
> > --------------------------------------------------------
> > http://www.pixelfr.org/
> > http://www.astikot-prod.com/
> > http://www.glou-prods.net/
> > http://www.genese-darras.com/
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> > For additional commands, e-mail: server-user-help@james.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: question about listserv
Posted by Robert Koberg <ro...@koberg.com>.
Hi,
I am trying to send an email from a servlet with javamail (on a dev machine
not the james machine). I have SMTP AUTH on. I create the
PasswordAuthentication with a plaintext username and password. When I send
it I get an AuthenticationFailedException:
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.AuthenticationFailedException
In my james smtp log I have DEBUG on and I see two lines after the line
saying 'Command received: AUTH LOGIN' and before a line that says 'AUTH
method LOGIN failed' which look something like (not the actual):
Sent: 334 OIUoioefofvhfr
Sent: 334 DrhgHEFJjkhfed
My PasswordAuthentication looks like:
public class LsbSmtpAuthenticator extends Authenticator {
public PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication("test@domain.com", "testpasswd");
}
}
The username and password that I actually use are correct because I use the
same in my gui mail client.
First, I don't suppose there is a way to send an MD5 encrypted string as the
password (I have a custom user/passwd list already), is there?
Second, can anybody tell me what is going wrong? Should I be sending
encrypted strings (what kind?)?
I can't see anything from a search in google or the James docs.
Thanks for any info,
-Rob
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: question about listserv
Posted by John Hornsby <jo...@dsdata.co.uk>.
Try:
<subjectprefix xml:space="preserve">[contact] </subjectprefix>
John
> -----Original Message-----
> From: Kaci AGOUN [mailto:kacy@glou-prods.net]
> Sent: 12 July 2003 13:42
> To: James Users List
> Subject: question about listserv
>
>
> How can I write a space character in the subjectprefix ?
> Actually this is the configuration :
> <subjectprefix>[contact]</subjectprefix>
> Everything works fine but I'd like to have "[contact]
> subject" instead of
> "[contact]subject".
>
> Thanks :)
>
> ++KC
> --------------------------------------------------------
> http://www.pixelfr.org/
> http://www.astikot-prod.com/
> http://www.glou-prods.net/
> http://www.genese-darras.com/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org