I quote below from JMP scripting index:
Mail( "test@example.com", "revelation", "JMP is great.", "$SAMPLE_DATA/Big Class.jmp" );
It's about mail function.
"JMP is great" is the message part.
What I want for message part is like this:
Hi all,
How are you!
How to make it work?
How to insert
between "Hi all," and "How are you!"
I've tried search the community, didn't find the related discussions.
Thanks for any suggestions.
The answer is to use the New Line escape string "\!n".
Mail( "test@example.com", "revelation", "Hi all,\!nHow are you?", "$SAMPLE_DATA/Big Class.jmp" );
Please take the time to read the Scripting Guide. It will make your JMP scripting efforts easier.