cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
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( "test@example.com", "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 IV

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.