AdvEmail problem

0
I am trying to use the AdvEmail module to send an email. I have followed the setup in the documentation. I have entered the correct un, pas, smtp, port and correctly set to SSL. It fails to send the email, something about security permissions. Could somebody point me in the right direction. Cheers. Exception: Message: access denied (java.security.SecurityPermission insertProvider.SunJSSE) Stacktrace: com.mendix.core.CoreRuntimeException: java.security.AccessControlException: access denied (java.security.SecurityPermission insertProvider.SunJSSE) at com.mendix.core.Core.execute(SourceFile:225) Caused by: java.security.AccessControlException: access denied (java.security.SecurityPermission insertProvider.SunJSSE) at hC.b(SourceFile:193) Caused by: access denied (java.security.SecurityPermission insertProvider.SunJSSE) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374) at java.security.AccessController.checkPermission(AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.SecurityManager.checkSecurityAccess(SecurityManager.java:1698) at java.security.Security.check(Security.java:819) at java.security.Security.insertProviderAt(Security.java:324) at java.security.Security.addProvider(Security.java:372) at advemail.mail.Sender.getEmailSession(Sender.java:285) at advemail.mail.Sender.send(Sender.java:66) at advemail.mail.EmailModule.mail(EmailModule.java:123) at advemail.actions.SendEmailAttachments.executeAction(SendEmailAttachments.java:93) at advemail.actions.SendEmailAttachments.executeAction(SendEmailAttachments.java:26) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:182) at com.mendix.core.Core.execute(SourceFile:219) at lh.a(SourceFile:69) at mg.a(SourceFile:73) at mf.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:182) at com.mendix.core.Core.executeSync(SourceFile:196) at li.a(SourceFile:70) at mg.a(SourceFile:73) at mf.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:182) at com.mendix.core.Core.execute(SourceFile:219) at gm.execute(SourceFile:186) at iW.a(SourceFile:297) at com.mendix.externalinterface.connector.RequestDispatching$Worker.a(SourceFile:141) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.a(SourceFile:133) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.apply(SourceFile:131) at akka.actor.Actor$class.apply(Actor.scala:545) at com.mendix.externalinterface.connector.RequestDispatching$Worker.apply(SourceFile:127) at akka.actor.LocalActorRef.invoke(ActorRef.scala:910) at akka.dispatch.MessageInvocation.invoke(MessageHandling.scala:25) at akka.dispatch.ExecutableMailbox$class.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:223) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:123) at akka.dispatch.ExecutableMailbox$class.run(ExecutorBasedEventDrivenDispatcher.scala:195) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.run(ExecutorBasedEventDrivenDispatcher.scala:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:192)
asked
2 answers
2

Did you see this?

answered
1

Solved. You can request security permissions at: https://support.mendix.com/

or

Goto settings > config > server > emulate cloud security and set it to false, that works on my local machine. Will have to sort permissions for actual cloud deploy though.

answered