EldoS | Feel safer!

Software components for data protection, secure storage and transfer

ElMessagePartHandlerPGPMIME Headerfields

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 04/03/2008 10:21:32
by Ertan Altekin (Basic support level)
Joined: 04/03/2008
Posts: 3


ElMessagePartHandlerPGPMIME Handler creates standard header inside PGPed section like:

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?


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.
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.

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');


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

where msg is an object of TElMessage type.
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.

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: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.



Topic viewed 1889 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!