How to extract information from file?

writes an error in the third line. As I understand it, it is impossible to do this, the code:

..."<?php include "e-mail.txt" ?>"...

Well, how then to extract info from the file in such cases?

Answer 1

$content = file_get_contents("e-mail.txt");

and replace the dash on the emphasis – on _, can compiler perceive it for a minus sign.

Answer 2

$fh = fopen("e-mail.txt", "r");
$data = fread($fh, filesize("e-mail.txt"));
mail ($data, "", "", "");