EldoS | Feel safer!

Software components for data protection, secure storage and transfer

ElMessagePartHandlerPGPMIME Headerfields

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#5723
Posted: 04/03/2008 10:21:32
by Ertan Altekin (Basic support level)
Joined: 04/03/2008
Posts: 3

Hello,

ElMessagePartHandlerPGPMIME Handler creates standard header inside PGPed section like:

Content-Type:
multipart/mixed;boundary="----=_NextPart_206_6810_3954107509747917";charse
t="iso-8859-1"
MIME-Version: 1.0
X-Mailer: EldoS SecureBlackbox, version: 2006.09.18
Date: Thu, 3 Apr 2008 18:03:28 +0200
Message-ID: <200804031803280051@27296716>

Question: How can I add or delete any fields inside PGPed message?

thanks,
Ertan

#5725
Posted: 04/03/2008 11:41:46
by Ken Ivanov (EldoS Corp.)

The headers you specified ("Date", "X-Mailer" etc.) belong to the outermost (main) message part and can be set using the corresponding properties of TElMessage object.
#5726
Posted: 04/03/2008 12:12:19
by Ertan Altekin (Basic support level)
Joined: 04/03/2008
Posts: 3


ElMessagePartHandlerPGPMI­ME doesn't copy all fields (user defined) from message part.
I want set a new field (for example X-OBJECT-ID) into PGPed message header.

thanks,
#5727
Posted: 04/03/2008 12:34:19
by Ken Ivanov (EldoS Corp.)

It's not a task of ElMessagePartHandlerPGPMIME to copy the headers. Please use the following notation:

msg.SetCustomHeader('CustomHeader', 'CustomValue');

or

msg.MainPart.Header.SetField('CustomHeader', 'CustomValue');

where msg is an object of TElMessage type.
#5728
Posted: 04/03/2008 13:26:12
by Ertan Altekin (Basic support level)
Joined: 04/03/2008
Posts: 3

thank you, but my problem is that i cannot insert customheader into PGP/MIME part.
I try to illustrate with a screenshot.


#5730
Posted: 04/04/2008 02:13:16
by Ken Ivanov (EldoS Corp.)

Got it.

There's no possibility to add custom headers to a PGP message part at the moment, sorry.
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.

Reply

Statistics

Topic viewed 1918 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!