Hello Paweł,

Can you step with the debugger trough it to see where the line is
truncated ? Sure there is a line limit, but dont know from the top of my
head if how long and if the component split it in more lines.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

Monday, April 3, 2006, 19:47, Paweł wrote:

> Hi
> I wrote program, that sending emails in Html format. Everything
> works great, but I found big problem.
> I use THtmlSmtpCli component. 
> There is HtmlText property, which is TStrings type.
> I have got:
>       HtmlSmtpClient.HtmlText:= EmailBody;

>       HtmlSmtpClient.EmailImages.Clear;
>       HtmlSmtpClient.EmailImages.Add(FirstImage);
>       HtmlSmtpClient.EmailImages.Add(SecondImage);
>       HtmlSmtpClient.Host:= SmtpServerName;
>       HtmlSmtpClient.Port:= IntToStr(SmtpServerPort);
>       HtmlSmtpClient.FromName:=UserName + ' <'+UserEmail+'>';
>       HtmlSmtpClient.HdrSubject:=Topic;
> ...


> EmailBody is a TStringList variable, that store Html mail text...
> One of this EmailBody lines is very long, about 900 characters... 
> The problem is that when I receive that email the text is
> truncuted, after about 850 characters in that long line.
> So, does HtmlText property cutting long lines to specified line
> length? Or, am I dong something wrong?

> Thanks in advance, regards!
> Paweł

-- 
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

Reply via email to