|
Posted by Rik on 07/27/07 15:06
On Fri, 27 Jul 2007 16:58:12 +0200, Jean Pierre Daviau <Once@WasEno.ugh>=
=
wrote:
> MIME-version: 1.0
> Content-type: TEXT/PLAIN; CHARSET=3DISO-8859-1
> Content-transfer-encoding: 7BIT
> Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found
> and truncated.
>
> I used:
>
> $message =3D wordwrap($message, 70);
> mail('Moi <6eWmebq@etc>', $subject, $message, $headers);
Lines longer then 70 without whitespace still won't be wrapped, for =
instance =
'C:\Borland\BCC55\Bin;C:\jdk1.1.8\bin;C:\masm32\bin;"C:\PROGRA~1\Fichie~=
1\GTK\2.0\bin";"C:\PROGRA~1\Microsoft'
The Manual:
wordwrap ( string $str [, int $width [, string $break [, bool $cut]]] )
That $cut bool could help you out, but may maim your message.
Also, look at the user contributed notes at http://www.php.net/wordwrap,=
=
it's a fairly common problem.
-- =
Rik Wasmus
[Back to original message]
|