PER TUTTI COLORO CHE HANNO AVUTO QUESTO PROBLEMA:

Il mio prob era questo, apparizione di un ! (punto esclamativo)dopo la 990° colonna di testo e quindi visibile sulla mail arrivata.


Ecco il codice che usavo:

//---------------------------------------------------------------

$headers = "MIME-Version: 1.0\n"
."Content-type: text/html; charset=iso-8859-1 \n"
."From: Eledofe Newsletter <info@eledofe.it>\n";

$strBody = $rstMail->MAILTESTO ;

mail("mail@mail.it", $rstMail->MAILOGGETTO, $strBody, $headers);

//---------------------------------------------------------------


il campo MAILTESTO è un campo blob e conteneva circa 3000 caratteri, quindi come già detto mi appariva un !

SOLUZIONE DEL PROBLEMA:

//---------------------------------------------------------------

$headers = "MIME-Version: 1.0\n"
."Content-type: text/html; charset=iso-8859-1 \n"
."From: Eledofe Newsletter <info@eledofe.it>\n";

$strBody = $rstMail->MAILTESTO ;

$strBody = wordwrap($strBody, 100); <--------QUI

mail("alessandro.trentin@starsystem.tn.it", $rstMail->MAILOGGETTO, $strBody, $headers);

//---------------------------------------------------------------

Basta inserire un comando wordwrap che spezzi la stringa (es: ogni 100 caratteri, il wordwrap inserirà un \n portando a capo la stringa .


Ciao a tutti!!!!!!!!!!