nota che così facendo i commenti html () rimarrannoCodice PHP:
<?php
$file = 'http://www.miosito.it/contratto.php';
$html = file_get_contents($file);
//togliamo i tag html da $html
$html = preg_replace("/<[\/\!]*?[^<>]*?>/", "", $html);
mail('mia@mail.com', 'Contratto', $html, 'From: [email]mail@mittente.it[/email]');
?>