From: rabarama Date: 2009-09-23T06:30:10+09:00 Subject: pleas help for forwarding an email I'm quite new to ruby, and something is driving me crazy. I'm working with emails, and i need to fw a email adding an header and a footer to the text. I'm having a lot of problems with multipart/alternative with attachments emails. I get the email from a pop mailbox, i get it as a tmail object and then i try to work with it.. If i deliver the mail i get changing only "from, to, or subject" everythings goes right, but i can't understand how to add someting to the body (in the html and in the plain part). I try to get parts and where a part is multipart i get parts of that part and so on rebuilding everypart i get to a new tmail object. When i find the text part i add my header to the body of that part . (Honestly i think this can't be the best way to do this) This generates mail that loose html format, in line attachments name or attachment files. I can't find any useful documentation, can someone here help me? If useful i will post some code..