When I have the file emailed to my GMAIL account it comes through as a zero byte .WAV attachment that won't play. When I send it to my VERIZON or COMCAST email accounts it comes through as old fashioned MIME text data embedded in the message like this:


From: vpanel@voipo.com [mailto:vpanel@voipo.com]
Sent: Saturday, December 12, 2009 3:00 PM
To: ed
Subject: VOIPo Call Recording

Reply-To: do-not-reply@voipo.com

Content-Type: multipart/mixed; boundary="PHP-mixed-a9b7cd66318e562786bc89bb58802089"

Message-Id: <20091212200002.30AD12DCC23F@db03.voipwelcome.com>
Date: Sat, 12 Dec 2009 20:00:02 +0000 (UTC)


--PHP-mixed-a9b7cd66318e562786bc89bb58802089

Content-Type: multipart/alternative; boundary="PHP-alt-a9b7cd66318e562786bc89bb58802089"

--PHP-alt-a9b7cd66318e562786bc89bb58802089

Content-Type: text/html; charset="iso-8859-1"

Content-Transfer-Encoding: 7bit

<p>You have received a new VOIPo recording, file is attached as wav format.</p>

--PHP-alt-a9b7cd66318e562786bc89bb58802089--

--PHP-mixed-a9b7cd66318e562786bc89bb58802089

Content-Type: audio/wav; name="8003310500_20091212-194751.wav"

Content-Transfer-Encoding: base64

Content-Description: Sound attachment

Content-Disposition: attachment; filename="8003310500_20091212-194751.wav"

UklGRqRUCABXQVZFZm10IBAAAAABAAEAQB8AAIA+AAACABAAZG F0YYBUCAAIAAAAAAAIAAgACAAQ

AAgACAAQABAACAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAB AAEAAQABAAEAAQABAAEAAQABAA

EAAQABAAEAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA AQABAAEAAQABAAEAAQABAAEAAQ

ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAgAEAAQAB AAEAAQABAAEAAQABAAEAAQABAA