in reply to mime tools multiline body

Do the records in @msg_data end with a new line? If not you should probably try join("\n", @msg_body).

Update: Doh! forgot a close tag... Thanks VSarkiss

May the Force be with you

Replies are listed 'Best First'.
Re^2: mime tools multiline body
by Anonymous Monk on Sep 23, 2004 at 03:41 UTC
    I changed the type to text/plain and used join("\n", @msg_body) and this resulted in a literal "\n" being stuck between each element. It's not reading the line returns as line returns...any ideas?
      doh, I figured it out immediately. I was using '\n' instead of double quotes, so of course it wasn't reading them as line returns. Everything works great now, thanks for the help. As always I'm indebted to the monks...