Jump to content

mime parser


sid_o

Recommended Posts

The attachment header would be included at the beginning of the email:

 

Content-Type: multipart/mixed; boundary="==--somewhereboundaryhere=="

 

And then the email attachment might look something like:

 

Content-Type: x-application/zip; name="MyFile"

Content-Transfer-Encoding: base64

 

Then its just data encoded which will have the boundary on a separate line.

 

As for how to actually parse it.. that's something I haven't done, I've only created emails with attachments, not the other way around.

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/70484-mime-parser/#findComment-354301
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.