Hey, I've got the following problem: I have got a complete html page with inline CSS and images (with remote urls) that I want to send as a html email. So what I need to do is: 1. loop through img tags, extract url 2. attach image, fetch cid 3. change img src to cid:<contentid> Can anyone tell me what to use for this? I need something that returns the content id after I attach an image, so I can change it in the html. Thanks in advance, Christoph -- Posted via http://www.ruby-forum.com/.