dove stai mandando questi email? FOrse certe mailing lists non cianno
supporto per HTML e solo text normale. Win98 non lo so perche ti fa vedere
il codice, penso che non "capiscono" il HTML e anche qualche impostazione
deve essere cambiato per accetare HTML.

spero che questo to aiutera

-----Original Message-----
From: Andrea Fenilxxx [mailto:[EMAIL PROTECTED]
Sent: Monday, January 19, 2004 1:09 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Windows 2003 Server


Sto realizzando una pagina di invio mail per una mailing list.
La mail parte regolarmente.
Sul mio pc (Win Xp si vede bene, cos� come su molti altri pc)
Qualcuno sa spiegarmi perch�, su alcuni windows ('98), invece dell'html mi
genera una mail NON html (quindi si vede solo il codice... una
schifezza!!!).
Forse sbaglio charset=iso-8859???

Sono stressato!
$messaggio � una concatenazioni di header.$corpo.footer
Il corpo � generato da una textarea
-------------------------------------------


<?php

$oggetto="Newsletter 4winds - OFFERTE di VIAGGIO";
$messaggio= '
 <html>
 <head>
  <title>Titolo</title>
 </head>
 <body>
            Corpo header
</body>
 </html>
 '
  .$corpo.

 '
 <html>
 <head>
 </head>
 <body>
         Corpo footer
 </body>
 </html>
 ';

// l'intestazione Content-type per inviare email in formato HTML
$intestazioni  = "MIME-Version: 1.0\r\n";
$intestazioni .= "Content-type: text/html; charset=iso-8859-1\r\n";

// intestazioni addizionali - From
$intestazioni .= "gestore mailing list ";

//destinatari
$to = " - destinatari - ";

mail($to, $oggetto, $messaggio, $intestazioni);

?>

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--------------------------------------------------------------------
Disclaimer 
This e-mail transmission contains confidential information,
which is the property of the sender.
The information in this e-mail or attachments thereto is 
intended for the attention and use only of the addressee. 
Should you have received this e-mail in error, please delete 
and destroy it and any attachments thereto immediately. 
Under no circumstances will the Cape Technikon or the sender 
of this e-mail be liable to any party for any direct, indirect, 
special or other consequential damages for any use of this e-mail.
For the detailed e-mail disclaimer please refer to 
http://www.ctech.ac.za/polic or call +27 (0)21 460 3911

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to