'text' is not a MIME type, as far as I know. 'text/plain' is, and it's probably what you want. Maybe your mail reader treats the text as HTML by default, in which case, line returns would disappear. It might help to fix this. | [reply] |
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
| [reply] [d/l] [select] |
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?
| [reply] |
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...
| [reply] |