OK.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

----- Original Message ----- 
From: "Arno Garrels" <arno.garr...@gmx.de>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Sunday, January 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 event. If the event is
>> assigned, the computation is done and then event handler is called
>> with the computation result as argument.
>
> Background of the MessageSize property is that it can be also set by
> the component user if he sends, for example, precomposed messages thru the
> OnGetData event. CalcMsgSize may take a while depending on multiple
> conditions, even though Base64 file attachment grow is just calculated.
> Beside the progress bar capability I want to add support for the extented
> MailFrom command which sends the expected message size as the second
> argument (rfc1870)
>
> --
> Arno
>
>
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to