You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Thomas Söhngen <th...@tgconsulting.de> on 2014/12/01 10:58:41 UTC

My custom mailbox won't show headers in Outlook

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

TGC GmbH
1, Place du Marché
6755 Grevenmacher
Luxembourg

Tel(lu): +352 2670 640
Tel(de): +49 700 2420 8180
Fax(de): +49 6551 9815 86
E-Mail: thomas.soehngen@tgconsulting.de 
<ma...@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 - 
D, A, CH, BE, LUX


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.


Re: My custom mailbox won't show headers in Outlook

Posted by Eric Charles <er...@apache.org>.
(late reply...) If JPA/Maildir... works with Outook, I guess there is
something to fix in your custom mailbox implementation.

On 12/01/2014 10:58 AM, Thomas Söhngen wrote:
> 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org