cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

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

How to JSL script an e-mail to my gmail account.

Trying to use JSL to send out an email with a data table and some graphs.

Currently using JMP 14 and GMAIL account which are both (64 bit).

 

When I use this piece of script: Mail( "[email protected]", "revelation", "JMP is great.", "$Sampled/Big Class.JMP" );

I get the following error in the logs:

 

Send mail failed. mail problem in access or evaluation of 'Mail' , Mail/*###*/("testable.com", "revelation", "JMP is great.", "$Sampled/Big Class.JMP"),

Can somebody help or had a similar issue?

12 REPLIES 12
dadawasozo
Level V

Re: How to JSL script an e-mail to my gmail account.

Hi Mark,

is it possible to script to select "Allow" without human interaction?

johnmoore
Level IV

Re: How to JSL script an e-mail to my gmail account.

Ivan,

 

I had a similar issue a few years ago.  Here is how I got around it.

	MailToString = "mailto:" || emailAddress;
	Web( MailToString );
ivan_j_moore
Level III

Re: How to JSL script an e-mail to my gmail account.

Hi John,

 

Thanks for this I had tried this also.

Just I was trying to Script in order to send out e-mails automatically , web mail function I believe you still have to press the send button.

Also would like to add attachments which cannot be done in the web mail function, I believe.

 

Tomorrow I am going to install "Outlook" to link up my g-mail account then try the mail () function.

Let you know how I get on.

 

Recommended Articles