E Mails Stored in Database..but how do i get attachments?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
knuppel
Forum Newbie
Posts: 5
Joined: Wed Dec 03, 2003 2:43 pm

E Mails Stored in Database..but how do i get attachments?

Post by knuppel »

My Emails Are storde in a Mysql Database
(I'm using xeoports for this)

The Field xp_body_raw
it looks like this:

----Boundary-=_64af19f782ba6624c38c149e6343520c
Content-Type: text/plain ; CHARSET=iso-8859-1
Content-Transfer-Encoding: quoted-printable


----- Original Message -----
From: knuppel@beatmaschine.de
To: admin@beatmaschine.de
Subject:

>
>

_________________________________________________________________
Powered by http://www.beatmaschine.de


----Boundary-=_64af19f782ba6624c38c149e6343520c
Content-Type: audio/mid; name="12.mid"
Content-Transfer-Encoding: base64
Content-Disposition: ATTACHMENT; filename="12.mid"

TVRoZAAAAAYAAQAGPABNVHJrAAAAFQD/WAQEAhgIAP9RAwi4JIfAAP8vAE
1UcmsAAABHAP8DC1NhbXBsZTF0ZWlsAP8EC1NhbXBsZTF0ZWlsAP8hAQIA




........and so on


czJ0ZWlsAP8hAQaF0ACQOGSB8AD/LwA=
----Boundary-=_64af19f782ba6624c38c149e6343520c--

how can i get the Attachments as file to download?

greets knuppel
knuppel
Forum Newbie
Posts: 5
Joined: Wed Dec 03, 2003 2:43 pm

Post by knuppel »

any ideas?
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Yes, thread closed (soon deleted after it has been a warning to others) because you are cross-posting (also in Database section).
Locked