Hi,
I'm using Synapse to pop a mailbox, then I try to analyse the message.
I encounter some problems with an email like this :
/[...]
Date: Fri, 20 Jun 2008 13:13:09 GMT
MIME-Version: 1.0
[...]
Subject: =?utf-8?B?RGVsaXZlcnkgRmluYWwgRmFpbHVyZSBOb3RpY2UA?=
Content-Type: multipart/mixed; boundary=----=_IMSS7_NDR_MIME_Boundary
[...]
/When I use the function :
function TMessHeader.DecodeHeader(value: string): boolean;
...
*FSubject := InlineDecode(Trim(SeparateRight(Value, ':')), cp); *
...
my MessHeader subject value is *Delivery Final Failure Notice#0
*this #0 at end of string causes some undesirable effects in my code.
So, my question is :
Is this #0 normal ?
If yes, can I delete it ?
If no, how to remove it ?
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public