Hi, looking for a automated jmp script solution to send an email notification after verifying a value. Thanks in advance!
@Jenn1 ,
Maybe try something like this.
dt = Open( "$SAMPLE_DATA/Big Class.jmp");
Avg_Age = Mean(dt:Age << Get Values);
If(Avg_Age > 13.5,
Mail( "YourEmail", "Test Passed", "The average age in big class dataset is > 13.5", "$SAMPLE_DATA/Big Class.jmp" );
);
Note that, with this approach, a pop up window will come up asking you to "allow" or "deny" the file to be e-mailed.