hi Wei,
if you are using windows than you can send an email using JSL. the following is from the JMP scripting guide:
Mail
(Windows only) Mail sends an e-mail message to alert a user about a condition in JMP. For example,
a process control manager might include a test alert script in a control chart to trigger an e-mail
warning to her pager:
mail("JaneDoe@company.com", "out of control", "Process 12A out of control at "||Format(today(),
"d/m/y h:m:s"));
Mail can also send an attachment with the e-mail. An optional fourth argument specifies the
attachment. The attachment is transferred in binary format after its existence on the disk is
verified. For example, to attach the Big Class.jmp data table, submit
mail("JohnDoe@company.com", "Interesting Data Set", "Have a look at this class
data.", "C:\myJMPData\Big Class.jmp");
the following is from the help files:
Mail("host.id", "subject", "message", "attachment")
Description
(Windows only) Sends e-mail (using MAPI) to the host.id with the specified subject and message texts. Sends one or more attachments specified by the optional attachment parameter. The attachment argument can evaluate to a string or list of strings.
Examples
To send an email with multiple attachments:
Mail(
"yourname@company.com",
"New data and script",
"Today’s updated data table and script are attached.",
{"$DOCUMENTS/wd.jsl", "$DOCUMENTS/survey.jmp"}
);
or:
list = {"$DOCUMENTS/wd.jsl", "$DOCUMENTS/survey.jmp"};
Mail(
"yourname@company.com",
"New data and script",
"Today’s updated data table and script are attached.",
list
);