07-06-2010, 00:43
Ja mam coś takiego i działa:
Kod PHP:
$naglowki = "Reply-to: [email protected]".PHP_EOL;
$naglowki .= "From: [email protected] ".PHP_EOL;
$naglowki .= "MIME-Version: 1.0".PHP_EOL;
$naglowki .= "Content-type: text/html; charset=utf-8".PHP_EOL;
$tytul = 'tytul';
$wiadomosc = '<html>
<head>
<title>Wiadomoݦ e-mail</title>
</head>
<body>
<div style="border: 1px #e8edef solid;background: #f6f8f9; color: #5a5a5a; font-size: 12px; font-family: tahoma; padding: 10px;">
tresc
</div>
</body>
</html>';
![[Obrazek: 2guxq1i.gif]](http://img713.imageshack.us/img713/1035/2guxq1i.gif)