cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. ET on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
steven_gong
Level II

How to make
work in mail message?

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 <br/> between "Hi all," and "How are you!"

 

I've tried search the community, didn't find the related discussions.

Thanks for any suggestions.

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How to make
work in mail message?

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.

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: How to make
work in mail message?

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.

Jim

Recommended Articles