Here is the solution I used if anyone is interested:
To extract multiple email addresses from a file you can use the following code:
$file1 = "Your File";
if (!($removeFile = fopen($file1, "r"))) exit("Unable to open the list file.");
$z = 0;
$file_array = array();
while (!feof ($removeFile))
{
$buffer = fgets($removeFile, 5000);
if (preg_match('/\b[A-Z0-9.%-]+@[A-Z0-9.%-]+.[A-Z0-9._%-]{2,4}\b/i', $buffer, $matches))
{
$file_array[$z] = $matches[0];
}
$z++;
//echo $buffer;
}
The above code reads through a file line by line and takes whatever matches it finds and places in to a useable array.