Arno, That might be true. By the way: Wouldn't the following be sufficient? It should be much faster:
if FMailMessage.Count > 0 then 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? 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. 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