Thanks for your answer... The header of the HTML template we are using is <head> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
I think it is not the problem... But, thanks a lot for your answer -----Original Message----- From: Danny Angus [mailto:[EMAIL PROTECTED] Sent: Jueves, 22 de Enero de 2004 04:33 a.m. To: James Users List Subject: Re: James + Exchange Server 5.5 Johannes, Check that the character set used in the HTML templates is OK, check the <html> tag as well as the actual files. FWIW Eclipse uses Cp1252 by default, perhaps the editor you used to create the templates needs to be checked/adjusted [1], or the code which populates them might need reviewed. You can convert to another character set programatically, but I bet you don't want to have to do that :-) Neither do I think you should hack the headers unless you are sure that it is safe to do so, but you could try finding out what more acceptable character set is the closes match with Cp1252, I suspect this will be UTF-8, and it might be as simple a task as setting this in the HTML. (but be warned it might equally not!) Finally... Does your James/JBOSS installation run on windows? If so you may have to investigate how Java or Windows decides what default charset to use and override cp1252 with UTF-8 d. [1]see http://www.pemberley.com/janeinfo/latin1.html lower down deals with cp1252 vs standard charsets. |---------+-------------------------------------> | | Johannes Correa | | | <[EMAIL PROTECTED]| | | market.com> | | | | | | 21/01/2004 10:21 PM | | | Please respond to "James | | | Users List" | | | | |---------+-------------------------------------> >--------------------------------------------------------------------------- ------------------------------------| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: James + Exchange Server 5.5 | >--------------------------------------------------------------------------- ------------------------------------| Hello everybody We are using a James+Jboss configuration to send some emails to our users. Our emails are constructed using a html template with some design and inside we put the different texts that are readed from an xml file. This schema worked fine last year but now we are getting the next message when some users receive mail from a Exchange Server (others users from hotmail or another servers don't have any problem): //Message sent by Exchange This message uses a character set that is not supported by the Internet Service. To view the original message content, open the attached message. If the text doesn't display correctly, save the attachment to disk, and then open it using a viewer that can display the original character set. <<message.txt>> Reviewing the messages from past year and this year we found a little difference between them: the initial header show "Content-Type: text/html; charset="iso-8859-1"" instead of "Content-Type: text/html; charset=Cp1252" of current messages. //Original header when it worked fine Received: from ntodd5.grupomun.com ([10.60.1.5]) by csm01.grupomun.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id XH4Q8NN3; Mon, 1 Dec 2003 17:22:17 -0500 Content-Class: urn:content-classes:message Received: from ils ([200.31.15.139]) by ntodd5.grupomun.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 1 Dec 2003 17:22:15 -0500 Return-Path: [some-email-addr] Received: from 127.0.0.1 ([127.0.0.1]) by ils (JAMES SMTP Server 2.1.3) with SMTP ID 60 for [some-email-addr]; Mon, 1 Dec 2003 17:22:15 -0500 (GMT-05:00) Message-ID: <[EMAIL PROTECTED]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 To: [some-email-addr] Subject: Activacion de cuenta, Sistema de comunicacion Inversiones Mundial MIME-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 1 Dec 2003 17:22:15 -0500 (GMT-05:00) From: [some-email-addr] X-OriginalArrivalTime: 01 Dec 2003 22:22:15.0843 (UTC) FILETIME=[933E2730:01C3B859] //Actual Header.. it doesn't work Received: from ntodd5.grupomun.com ([10.60.1.5]) by csm01.grupomun.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id C9S5D0QZ; Wed, 14 Jan 2004 17:03:55 -0500 Received: from ils ([200.31.15.139]) by ntodd5.grupomun.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 14 Jan 2004 17:02:04 -0500 Return-Path: [some-email-addr] Received: from 127.0.0.1 ([127.0.0.1]) by ils (JAMES SMTP Server 2.1.3) with SMTP ID 216 for [some-email-addr]; Wed, 14 Jan 2004 17:02:32 -0500 (GMT-05:00) Message-ID: <[EMAIL PROTECTED]> To: [some-email-addr] Subject: Activacion de cuenta, Sistema de comunicacion Inversiones Mundial Mime-Version: 1.0 Content-Type: text/html; charset=Cp1252 Content-Transfer-Encoding: quoted-printable Date: Wed, 14 Jan 2004 17:02:32 -0500 (GMT-05:00) From: [some-email-addr] X-OriginalArrivalTime: 14 Jan 2004 22:02:04.0197 (UTC) FILETIME=[0B38A550:01C3DAEA] Does anybody have some idea? Thanks a lot for ane advice Johannes Correa IT Developer FactoringMarket --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *************************************************************************** The information in this e-mail is confidential and for use by the addressee(s) only. If you are not the intended recipient (or responsible for delivery of the message to the intended recipient) please notify us immediately on 0141 306 2050 and delete the message from your computer. You may not copy or forward it or use or disclose its contents to any other person. As Internet communications are capable of data corruption Student Loans Company Limited does not accept any responsibility for changes made to this message after it was sent. For this reason it may be inappropriate to rely on advice or opinions contained in an e-mail without obtaining written confirmation of it. Neither Student Loans Company Limited or the sender accepts any liability or responsibility for viruses as it is your responsibility to scan attachments (if any). Opinions and views expressed in this e-mail are those of the sender and may not reflect the opinions and views of The Student Loans Company Limited. This footnote also confirms that this email message has been swept for the presence of computer viruses. ************************************************************************** --------------------------------------------------------------------- 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]
