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.
Pro Sci Author on
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.