>Kevin Rutherford:
>email.text = This is a test\nof the emergency \
>broadcast system.
>
>This results in a string which looks like this when displayed:
>
>This is a test
>of the emergency broadcast system.

In windows, don't forget that you also need to add a carriage return to get
the second line:

email.text = This is a test\r\nof the emergency \
broadcast system.

If your users use windows email clients:

Take care to notice how your editor saves files.  Most give you the option
to save them in Unix style or Windows style.  The difference is that a
"newline" as displayed in the editor will be saved as "\n" under Unix style
and "\r\n" under Windows style.  If your editor writes the multi-line
email.text property in Unix style (by saving TR.props), you won't get a new
line in a windows-based email client because the editor didn't supply the
\r.  You can either type in the \r or change the way your editor writes
files.

I spent a very frustrating morning learning this back in my PHP days.

Chris


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to