james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Söhngen <thomas.soehn...@tgconsulting.de>
Subject My custom mailbox won't show headers in Outlook
Date Mon, 01 Dec 2014 09:58:41 GMT
Hi James Community,

I am working on a mailbox that connects to a custom store. That store 
has its own format to save email messages, so I can't just store the 
byte arrays there and had to write a parser to convert messages from and 
to the custom format of the store. The messages are parsed from and to 
Thunderbird without problems, but I have problems displaying the header 
information in Outlook. This is true even for mails that I saved to the 
mailbox via Outlook, and even if I take the exact header sent to James 
as a byte array, encode it as a Base64 string, save it to the store and 
decode it back directly to a byte array input stream when the message is 
retrieved (so never converting it to a String, avoiding charset issues), 
the header will still not be displayed in Outlook.
Outlook seems to interpret the header in some way, because it finds the 
boundary and the mail body starts at the right position, but it doesn't 
show any header information.
The JPA store i.e. doesn't seem to have this problem, is there any 
special trick I have to use to make the headers work in Outlook?

Any suggestion would be very appreciated.

Best regards,
Thomas Söhngen

Thomas Söhngen
Diplom Informatiker | Softwareentwicklung

1, Place du Marché
6755 Grevenmacher

Tel(lu): +352 2670 640
Tel(de): +49 700 2420 8180
Fax(de): +49 6551 9815 86
E-Mail: thomas.soehngen@tgconsulting.de 
Web: www.tgconsulting.de <http://www.tgconsulting.de/> | www.xbrowse.de 
<http://www.xbrowse.de/>| www.docushare.de <http://www.docushare.de/>

Xerox Alliance Partner - DocuShare ECM| Strategic Partner of DocuShare - 

TGC Luxembourg GmbH
Firmensitz: 1, Place du Marché, L - 6755 Grevenmacher
R.C.S. Luxembourg B 137946
TVA: 20082414127
No. id. Intracom: LU22481287
Geschäftsführer: Thomas Gabel, Tim Becker

Diese Nachricht ist ausschließlich für den bezeichneten Adressaten oder 
dessen Vertreter bestimmt. Beachten Sie bitte, dass jede Form der 
unautorisierten Nutzung, Veröffentlichung, Vervielfältigung oder 
Weitergabe des Inhaltes der E-Mail nicht gestattet ist. Sollten Sie 
nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, 
so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu 
setzen und anschließend diese E-Mail und sämtliche Anhänge zu löschen.
This message is exclusively for the person addressed or their 
representative. Any form of the unauthorized use, publication, 
reproduction, copying or disclosure of the content of this e-mail is not 
permitted. If you are not the intended recipient of this message and its 
contents, please notify this sender immediately and delete this message 
and all its attachments subsequently.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message