From: David Masover Date: 2009-09-23T10:30:21+09:00 Subject: Re: pleas help for forwarding an email On Tuesday 22 September 2009 04:30:10 pm rabarama wrote: > I'm working with emails, and i need to fw a email adding an header and a > footer to the text. [snip] > I get the email from a pop mailbox, i get it as a tmail object [snip] > 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 . By "header" do you mean something that should show up at the beginning of the message, inside the body? If so, that should work. If you mean "header" as in an actual email header (like From, To, etc), you should probably be adding that to the message. > This generates mail that loose html format, in line attachments name or > attachment files. Please post some sample code. It sounds like you're just trying to deliver that body. What you should be doing is storing the body back into the TMail object, then sending that object out. > I can't find any useful documentation, can someone here help me? http://lmgtfy.com/?q=tmail+documentation Or, you could be more specific about how the existing documentation isn't useful. It was pretty useful to me. > If useful i will post some code.. I think you've got it backwards. You post code, then we can maybe give you useful advice. Without code, I'm just guessing here.