I just changed the line:

df = new SimpleDateFormat("EE, d MMM yyyy HH:mm:ss");
to
df = new SimpleDateFormat("EE, d MMM yyyy HH:mm:ss", Locale.ENGLISH);

(just as the current CVS-Version)

and it works. Outlook tells the right month now. No longer "received on
19.01.2001" but "received 19.10.2001", because in the header the month is
set to Oct. If that was the only bug concerning german (or other) locales -
then it is working - yes.

btw: Wouldn't it be fun for you to localise your maschine to German? I mean
seeking the challenge? :-)

And I'll have a look at the MailAddress-diff of the 1.2.1-code against the
current to update the class (as Serge suggested).

another btw: Is the James-Group interrested in a Web-Admininterface and/or
Web-Mailreader based on tomcat4? I was wondering for quite long now, and I'm
really keen on writing such stuff.

cheers,
pero

-----Ursprungliche Nachricht-----
Von: Danny Angus [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 19. Oktober 2001 20:55
An: [EMAIL PROTECTED]
Betreff: RE: james 1.2.1 numeric IP


Is the german date date thing fixed then? I have no way of telling 'cos I
expect if I localise my machines to German I won't be able to do a thing
with them ~:-)
d.

> -----Original Message-----
> From: Peter Romianowski [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 19, 2001 6:15 PM
> To: [EMAIL PROTECTED]
> Subject: james 1.2.1 numeric IP
>
>
> Hi,
>
> I'm using james 1.2.1 (and it works like a charm after fixing the "german
> date"-problem)
> I know that the "numeric ip" issue is fixed in the current cvs,
> but I dont't
> want to switch to pre-alpha code for production. I get the
> following error:
>
> 2001.10.10 05:58:15 300 (ERROR) from SMTP: Error parsing sender address:
> someuser/mail.someserver.de@[127.0.0.1]: Invalid number at position 25
>
> Can someone tell me how to fix this for 1.2.1? (By updating a
> limited number
> of files or even better lines of code...)
> If it is not possible or would be too unstable, then I have to
> wait for 2.0
> beta or something...
>
> thanks,
> pero
>
>
> ---------------------------------------------------------------------
> 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to