It is likely that some server between you and the recipent cut the line. You 
shouldn't use such long lines. SMTP/POP3 are old protocols and has always 
had some line length limitation. HTML doesn't care about line break. You can 
insert CR/LF almost everywhere a space is.
--
[EMAIL PROTECTED]
http://www.overbyte.be


----- Original Message ----- 
From: "Paweł (WP)" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Monday, April 03, 2006 7:47 PM
Subject: [twsocket] Number of characters in HtmlSmtpClient.HtmlText property


> 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 

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