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.

 or register to reply.

Notify Moderator