EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElMessage questions

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#22229
Posted: 10/26/2012 08:28:18
by Niklas Kjellander (Standard support level)
Joined: 09/30/2008
Posts: 52

Hi,

I have two questions for you.

1. Is there some way to only load the headers into a TElMessage object. The mail I want to load is on disk.

2. I want to add an instance of TElMessage as an attachment to another instance of TElMessag, wich is the most efficient way to do this?

Best regards,

Niklas Kjellander
#22231
Posted: 10/26/2012 08:36:43
by Vsevolod Ievgiienko (Team)

Thank you for contacting us.

Quote
1. Is there some way to only load the headers into a TElMessage object. The mail I want to load is on disk.

TElMessage.ParseMessage method allows to control loading process via its 'AOptions' parameter. You shouldn't use 'mpoLoadData' to load only headers.

Quote
2. I want to add an instance of TElMessage as an attachment to another instance of TElMessag, wich is the most efficient way to do this?

You should serialize it using TElMessage.AssembleMessage and then attach it using TElMessage.AttachData method. If you want to create a multipart message then you should better use TElMessage.AttachFile method.

Reply

Statistics

Topic viewed 518 times

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




|

Back to top

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

Got it!