Quote:
Originally Posted by DenVog
Thanks for your reply.
I should clarify that my code example works fine in terms of sending a mail with a long line of text. What it doesn't do is providing any formatting to make it easier to read (e.g. bold, line breaks or returns). Any formatting examples I have tried to apply to it don't like the string inputs.
|
Ah. That wasn't clear. You should be able to get line breaks into the output by putting in carriage returns ('\r') where you want them, before its' URL encoded. If you want anything else, you're going to have to get a LOT more complicated. It'll have to be either MIME or HTML, and you're going to need to put in all the headers to declare a file type for the message body. Have you tried that?
joe