EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElMessage SetMainPart

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
Posted: 11/09/2012 08:54:01
by Niklas Kjellander (Standard support level)
Joined: 09/30/2008
Posts: 52

Is there a way to Set the mail message main part without loosing the current main message part. Seems like SetMainPart disposes the current main part.

The makeCopy flag doesn't seem to have any impact on this behaviour.


Niklas Kjellander
Posted: 11/09/2012 09:06:47
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for getting in touch with us.

Indeed its disposed when SetMainPart is called. You can save it before SetMainPart using TElMessagePart.Clone method.



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