iio invio un'email in html in questo modo:
$headers = "From: info@dew.org\nReply-To: info@dew.org\nX-Mailer: Sismail Web Email Interface\nMIME-version: 1.0\nContent-type: multipart/mixed;\n boundary=\"Message-Boundary\"\nContent-transfer-encoding: 7BIT";
$body_top = "--Message-Boundary\n";
$body_top .= "Content-type: text/html; charset=iso-8859-1\n";
$body_top .= "Content-description: Mail message body\n\n";

if(!mail($email,$oggetto,$contenutoEmail,$headers) ){
errore_messaggio("impossibile inviare l'email");
}
ora oltre a mandare un'email in formato html devo inviare anche un allegato ma mi sto incasinando e non so che fare.help me