|
Posted by starman7@hotmail.com on 03/01/06 22:49
Andy Hassall wrote:
> On 1 Mar 2006 11:29:52 -0800, "starman7@hotmail.com" <starman7@hotmail.com>
> wrote:
>
> >i'm using phpmailer, the variable that makes up the html body contains
> >other variables.
> >when one of these other variables contains more than 980 characters, it
> >stops rendering. any ideas on what would cause this limitation? is it
> >the mailer or might it be my code which basically prepends and appends
> >html (a table images etc.) around a message body containing the other
> >variables (like product info fields). any workarounds?
>
> Is the content all on one line without linebreaks? If so, then you may be
> hitting the maximum line length. RFC 2821, section 4.5.3.1:
>
> http://www.ietf.org/rfc/rfc2821.txt
> "
> The maximum total length of a text line including the <CRLF> is
> 1000 characters (not counting the leading dot duplicated for
> transparency). This number may be increased by the use of SMTP
> Service Extensions.
> "
>
thanks, yes i believe it is all on one line. would adding BRs in the
string help since it is the HTML body, or \n\n linebreaks? any simple
solutions?
i did see this in the message source --> Sun-Java-System-SMTP-Warning:
Lines longer than SMTP allows found and truncated.
which might be a further confirmation.
thanks again,
s7
Navigation:
[Reply to this message]
|