Kod
/* adresaci */
$to = "Mary <mary@example.com>" . ", "; //zwróc uwagę na przecinek
$to .= "Kelly <kelly@example.com>";
/* temat */
$subject = "Birthday Reminders for August";
/* wiadomość */
$message = '
<html>
<head>
<title>Birthday Reminders for August</title>
</head>
<body>
<p>Here are the birthdays upcoming in August!</p>
<table>
<tr>
<th>Person</th><th>Day</th><th>Month</th><th>Year</th>
</tr>
<tr>
<td>Joe</td><td>3rd</td><td>August</td><td>1970</td>
<td>Sally</td><td>17th</td><td>August</td><td>1973</td>
</tr>
</table>
</body>
</html>
';
/* *******************************************
A TU JEST JAK WYSŁAĆ MAILA W HTML'owym formacie
*********************************************** */
/* Aby wysłać e-mail w foramcie HTML, należy ustawić nagłówek Content-type. */
$headers = "MIME-Version: 1.0rn";
$headers .= "Content-type: text/html; charset=iso-8859-1rn";
/* dodatkowe nagłówki */
$headers .= "From: Birthday Reminder <birthday@example.com>rn";
$headers .= "Cc: birthdayarchive@example.comrn";
$headers .= "Bcc: birthdaycheck@example.comrn";
/* a teraz wyślij */
mail($to, $subject, $message, $headers);
Cytat
DOBRA JA TO TEŻ NAPISZE patrzcie czasami qurwa do MANUALA