Veit Zimmermann wrote: > Arno, > > That might be true. By the way: Wouldn't the following be sufficient? > It should be much faster: > > if FMailMessage.Count > 0 then
Yes, please have a look at latest SmtpProt.pas, FMailMsg.Text is now copied once to a string variable named FMailMsgText. Message text is encoded/wrapped on the fly so this string is to be read many many times. > > When will the next beta come out? Is there a time line? I know > Francois is busy. Is he controlling releases alone or are others > (like you) helping him on this? Francois is controlling releases on his own. > Because there is this other issue > of which I'm not sure how important it is (see article: bug in > smtpprot.pas by Marcello Vezzelli and its follow-ups) with at > least two issues concerning RFC822DateTime. Yes, this is a small bug and needs to be fixed, I think 'hh":"nn":"ss' is OK. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Veit > > > Arno Garrels wrote: >> Veit, >> >> You are not using latest Beta downloads. >> >> --- >> Arno Garrels [TeamICS] >> http://www.overbyte.be/eng/overbyte/teamics.html >> >> >> Veit Zimmermann wrote: >>> Hi >>> >>> It seems that there is a memory leak in SmtpProt: >>> When sending an email and using MailMessage for including the >>> text of the mail, the text is compared with an empty string with >>> the GetText method of TStrings. This method creates a copy of >>> the MailMessage TStrings which is not freed again: >>> >>> {if Length(FMailMessage.Text) > 0 then} { FP 05/03/06 } >>> if FMailMessage.GetText^ <> #0 then >>> FMailMsgTextPos := 1 >>> else >>> FMailMsgTextPos := 0; >>> >>> As you can Francois has already included a Fix. Why is this fix >>> only a comment? >>> >>> Veit > > > -- > ********************************************************************* > * Dipl.-Ing. Veit Zimmermann [EMAIL PROTECTED] * > * VECTRONIC Aerospace GmbH www.vectronic-aerospace.com * > * Carl-Scheele-Str. 12 tel: +49 (0)30 6789 4990 * > * D-12489 Berlin fax: +49 (0)30 6789 5230 * > * Germany WGS84: 52°25.83'N 13°31.52'E * > ********************************************************************* -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be