- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to JSL script an e-mail to my gmail account.
Looks like the path to the 'Big Class' file isn't quite right. Please try:
Mail( "test@example.com", "revelation", "JMP is great.", "$SAMPLE_DATA/Big Class.JMP" );
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to JSL script an e-mail to my gmail account.
Hi Ian,
Sorry still getting the same message:
Send mail failed.
mail problem in access or evaluation of 'Mail' , Mail/*###*/("ivan.j.moore@seagate.com", "revelation", "JMP is great.",
"$SAMPLE_DATA/Big Class.JMP")
In the following script, error marked by /*###*/
Mail/*###*/("xxxxx.x.xxxxx@seagate.com", "revelation", "JMP is great.",
"$SAMPLE_DATA/Big Class.JMP")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to JSL script an e-mail to my gmail account.
As for the path, you have to replace the path variable with its value. Like this:
Mail(
"ivan.j.moore@seagate.com",
"revelation",
"JMP is great.",
Get Path Variable( "$SAMPLE_DATA" ) || "Big Class.JMP"
)
You can evaluate the fifth line alone to see what value it returns. That result will be the fourth argument to the Mail() function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to JSL script an e-mail to my gmail account.
JMP uses your default mail client. What do you use to access your Gmail email? Outlook? Web page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to JSL script an e-mail to my gmail account.
I just ran this script:
Mail(
"mark.bailey@sas.com",
"Test of Mail Client",
"Hope you get my letter!"
);
I got an alert from Microsoft Outlook, the default mail client on my work computer:
I clicked Allow and the mail was sent. The message appeared in my inbox a moment later.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to JSL script an e-mail to my gmail account.
Hi Mark,
Thanks for the reply.
I am still having problems though.
I ran this as copied from our message:
Mail(
"ivan.j.moore@seagate.com",
"Test of Mail Client",
"Hope you get my letter!"
);
But still get this error message:
Send mail failed.
mail problem in access or evaluation of 'Mail' , Mail/*###*/("ivan.j.moore@seagate.com", "Test of Mail Client",
"Hope you get my letter!")
In the following script, error marked by /*###*/
Mail/*###*/("ivan.j.moore@seagate.com", "Test of Mail Client",
"Hope you get my letter!")
The company uses Google Chrome to access the Gmail account, unless this is the problem, is there anything else I could try ?
Any help appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to JSL script an e-mail to my gmail account.
Well now we know that the problem has something to do with your mail client. I would contact JMP Technical Support for help (support@jmp.com)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to JSL script an e-mail to my gmail account.
Hi all,
Thanks for the help, I will leave a message with JMP Support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to JSL script an e-mail to my gmail account.
I had an issue with this also. I asked a JMP contact that I have and that person was able to confirm that they had the same issue. This helps to rule this out as an issue with the mail client. (By the way, we were both using Outlook on Windows machines.) I emailed JMP Tech Support and a case was created (7612824569). That case is currently being worked.