wysylam maile za pomoca struktury z wykorzystaniem pear , ktora widac w
ponizszej funkcji:
<?php ############################### function mailaktyw($mail) { ############################### include( "pear/Mail.php" ); $recipients = $mail ; $headers [ "Content-Type" ] = "text/html; charset=\"iso-8859-2\"" $headers [ "Content-Transfer-Encoding" ] = "8bit"; $headers [ "Mime-Version" ] = "1.0"; $headers [ "From" ] = "ode@mnie.pl"; $headers [ "To" ] = "$mail" ; $headers [ "Subject" ] = "Tytul" ; $body = "<p>Witaj</p>\n" . "<p>tekst w html</p>"; $params["sendmail_path"] = "/usr/bin/sendmail"; // Create the mail object using the Mail::factory method $wysylka = $mail_object -> send ( $recipients , $headers , $body ); } // end function ?>
jak nalezaloby przerobic te funkcje aby zgodnie z RFC wiadomosc
wysylana w text/html miala swój odpowiednik w plain/text.
pozdrawiam

Poprawiłem
~mike_mech