hi

i need my php application to encode my email so it would look quite like this:

Code:
From: 60123456789
To: Undisclosed
Message-ID: <4677928.1.1263362226968.JavaMail.SYSTEM@geoflex-dafd13d>
Subject: Hello MMS
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_0_14780827.1263362226843"

------=_Part_0_14780827.1263362226843
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Sila tonton video ini
------=_Part_0_14780827.1263362226843
Content-Type: application/octet-stream; name=vid1.3GP
content-transfer-encoding: base64
Content-Disposition: attachment; filename=vid1.3GP

AAAAHGZ0eXAzZ3A1AAAAADNncDQzZ3A1aXNvbQAAN0xmcmVlAAAAbG12aGQAAAAAxpVuR8aVbmcA
AAPoAAIdaAABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAA
the string above is generated using javamail, and I can't find any php library which can do the similar thing...

thanks a lot