Re: PHPMailer issue
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: PHPMailer issue

From: Andy Hassall <andy@andyh.co.uk>
Date: Wed Mar 01 2006 - 20:54:35 CET

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

-- 
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Received on Mon May 1 02:25:03 2006