What I do is store all attachs in a db (msgid,filename, content type, byte size, and cid, as well as a random attachid#)
When I output the body html I use regex to replace img src=cid: with "img src='url?msgid=idnum&cid=" This works great for my java based customization of a web forum to allow html mail. Hth Dov ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244495 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

