EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElMessage SetMainPart

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
Posted: 11/09/2012 08:54:01
by Niklas Kjellander (Standard support level)
Joined: 09/30/2008
Posts: 49

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 364 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!