S. Isaac Dealey wrote: > No it's not a requirement -- I found an article that mentioned that > they tend to just use #createuuid()# by itself for the boundary. I > left the prefix "=_NextPart_." in just because I've seen it used and > figured it couldn't hurt -- the purpose of using a uuid() is to make > the boundary string unique, because you could just as well use > "nextpart" by itself as the boundary, however, if by random chance, > someone types "--nextpart" into an email this might cause a problem. > The prefix is human readable though it's not very likely to be read by > a human for any real reason, and the uuid() "ensures" uniqueness.
The sequence =_ (equals underscore) is such that it can't be present in many encodings (Base64, quoted printable) and is therefore a good one to put in a boundary. The rest doesn't matter, although numbering subsequently based on the nested level of the boundary is easy for debugging. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

