Re: Which application uses GNU JavaMail ?
Cedric Hyppolite <[email protected]> Tue, 21 Feb 2006 17:41:55 +0100
| Newsgroups | gmane.comp.java.classpath.extensions.discuss |
|---|---|
| Message-ID | <[email protected]> |
>
> OK, implemented and committed.
I am very happy to have it working.
Is there a plan for a release of GNU JavaMail.
Ciao,
Cedric
Le 18 f=C3=A9vr. 06 =C3=A0 14:40, Chris Burdess a =C3=A9crit :
> Cedric Hyppolite wrote:
>> Actually, there is an issue with folder listing. It works only if =20
>> the listed folder is not the default one. I got the listing of =20
>> INBOX so I didn't notice.
>>
>> To get it fully working, you need to change:
>> char sep =3D getSeparator();
>> String spec =3D
>> new StringBuffer(path).append(sep).append(pattern).toString();
>>
>> into
>>
>> String spec;
>> if (path.equals(""))
>> {
>> spec =3D pattern;
>> }
>> else
>> {
>> char sep =3D getSeparator();
>> spec =3D new StringBuffer(path).append(sep).append=20
>> (pattern).toString();
>> }
>>
>> So the 'empty name' folder will get listed without a separator =20
>> character.
>> This does not change the fact that the folder type need the fix =20
>> explained below.
>
> OK, implemented and committed. Sorry for the delay.
> --=20
> =E7=8A=AC Chris Burdess
> "They that can give up essential liberty to obtain a little safety
> deserve neither liberty nor safety." - Benjamin Franklin
>
>
>
>