Re: [twsocket] Obtaining the message size with TSmtpCli

2009-01-18 Thread Francois PIETTE
ary 18, 2009 6:45 PM Subject: Re: [twsocket] Obtaining the message size with TSmtpCli > Francois PIETTE wrote: >>> Would it be bad design if I add an async method "CalcMsgSize" to >>> TSmtpCli >> >> Good idea. >> Could also be implemented as a simple

Re: [twsocket] Obtaining the message size with TSmtpCli

2009-01-18 Thread Arno Garrels
Francois PIETTE wrote: >> Would it be bad design if I add an async method "CalcMsgSize" to >> TSmtpCli > > Good idea. > Could also be implemented as a simple event. If the event is > assigned, the computation is done and then event handler is called > with the computation result as argument. Bac

Re: [twsocket] Obtaining the message size with TSmtpCli

2009-01-18 Thread Francois PIETTE
> Would it be bad design if I add an async method "CalcMsgSize" to TSmtpCli Good idea. Could also be implemented as a simple event. If the event is assigned, the computation is done and then event handler is called with the computation result as argument. > I also would like to trigger OnReques