$to = $email;
$subject = "Pedido #".$id_factura;
//se puede hacer esto porque el mail se manda pero no sale este
//archivo
$message = file_get_contents('../prueba.html',true);
$headers = "Content-type: text/html\r\n";
$headers .= "From: [email protected]";
mail($to, $subject, $message,$headers);
or how can I send an email that goes with another file?