Binary attachments are always encoded as text when sent by email: email is a text-only format and so can't handle raw binary (and encoding makes the format more predictable). base64 is the most common encoding, and running your sample through base64_decode() nets me this:
******07/26/06 2:18:40 am******
ArrayTABLE: listingsCIB
ArrayTABLE: listingsCIB
TABLE: listingsFAL
ArrayTABLE: listingsCIB
TABLE: listingsFAL
Insert failed:
INSERT INTO listingsFAL(`Office`,`OfficeName`,`ListNum`,`AddressNum`,`AddressDi
ection`,`Street`,`Price`,`Sts`,`County`,`Area`,`Access1`,`Access2`,`Acres`,`Ass
ssmentValue`,`Baths
In short; you want to look at the bit in your code that says
/*
Encode The Data For Transition using base64_encode();
And get a 32-character hexadecimal number
*/
$file = chunk_split(base64_encode($file));
$num = md5( time() );