PS

Hello,

We send emails from our script using javax.mail as per this post : https://www.ariscommunity.com/users/amol/2011-10-11-how-send-email-using-aris-script

However with ARIS 10 Cloud (v. 10.0.6.1.1265467), we are now getting an error on this line:

<pre class="brush: jscript">var instSession = Packages.javax.mail.Session.getInstance(props, null);</pre>

Error: getInstance is not a function, it is "object".

Has the javax.mail JAR been removed from the ARIS lib folder perhaps? Is there an alternative that we can use?

Thank you for your assistance.

by Pro Sci Author
Posted on Thu, 01/24/2019 - 05:20

It appears that the javax.mail library is not available on this instance of hosted Aris Cloud version 10.0.6.1.1265467. I assume the classpath was not added for some reason. We imported the JAR to the Common FIles and it works fine now.

0
by vighnesh gawad
Posted on Fri, 01/24/2020 - 12:07

In reply to by prosci8

I cant find common files folder. What is exact path where I should import javax.mail JAR file. Can you give me set  of steps about how should I do this?

0
by Pro Sci Author
Posted on Wed, 06/24/2020 - 03:23

In reply to by vighneshh

I'm referring to the "Common files" folder that exists inside the Evalutions section (where all your macros and reports are located) when using Aris Architect. So I'm not referring to an OS level folder.

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks
  • Profile picture for user Bigan
  • AP
  • Profile picture for user Ivan.Ivanov.softwareag.com
  • Profile picture for user l.vanderzanden
  • AM
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock