You are here: Re: mail sent but truncated « PHP Language « IT news, forums, messages
Re: mail sent but truncated

Posted by Jean Pierre Daviau on 07/27/07 14:58

MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=ISO-8859-1
Content-transfer-encoding: 7BIT
Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found
and truncated.

I used:

$message = wordwrap($message, 70);
mail('Moi <6eWmebq@etc>', $subject, $message, $headers);

--

"Rik" <luiheidsgoeroe@hotmail.com> a ιcrit dans le message de
news: op.tv4me5vnqnv3q9@metallium...
On Fri, 27 Jul 2007 14:44:22 +0200, Jean Pierre Daviau
<Once@WasEno.ugh>
wrote:

> $headers = 'MIME-Version: 1.0' . "\r\n";
> $headers .= 'Content-type: text/html; charset=iso-8859-1'
> .
> "\r\n";
> $headers .= 'From: Jean Pierre Daviau <6eWmebq@etc>' .
> "\r\n";

Why these header? AFAIK, this is just a plain text message.
Remove those
MIME & Content-Type headers, and if it still doesn't work, come
back with
the actual headers when you receive the truncated mail, not the
ones you
set/try to set.

--
Rik Wasmus

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация