PHPMailer issue

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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?


Re: PHPMailer issue


Quoted text here. Click to load it

 Is the content all on one line without linebreaks? If so, then you may be
hitting the maximum line length. RFC 2821, section
      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.

Andy Hassall :: :: :: disk and FTP usage analysis tool

Re: PHPMailer issue

Andy Hassall wrote:
Quoted text here. Click to load it

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

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,

Site Timeline