MIME stuff

Earlier this week someone (hi Marcos) notified me that one mailer apparantly breaks up attachments in RB. I traced the problem to the following difference:

Content-type: ….[cut] Name=RB settings mods.txt

Content-Type: application/octet-stream
Content-Disposition: attachment; filename=”readme.txt”

I’m totally confused. When attaching files, do I use the Content-type field to add my filename as ‘Name=xxxx’. Or do I use the Content-disposition with the ‘filename’ entity? The RFC isn’t clear. Study time.

This entry was posted in RoundAbout. Bookmark the permalink.