İyi güzel de niye ob_start() ob_get_clean() olmaz dedin (: Tam bu işlik bu fonksiyonlar

<?php ob_start(); ?>
yolla.php içindeki kodları buraya yapıştır
<?php
$mesaj = ob_get_clean(); 

yolla_abi_mail($mesaj, xx, xx, xx, xx);
?>