AdvEmail problems

0
When using the AdvEmail package I get this error, I am NOT running in the cloud but local, I have set up e-mail setting for use of smtp.gmail.com with SSL any clue? 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:232) Caused by: java.security.AccessControlException: access denied (java.security.SecurityPermission insertProvider.SunJSSE) at hC.b(SourceFile:218) Caused by: access denied (java.security.SecurityPermission insertProvider.SunJSSE) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374) at java.security.AccessController.checkPermission(AccessController.java:549) 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:275) 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:207) at com.mendix.core.Core.execute(SourceFile:226) at ll.a(SourceFile:69) at mv.a(SourceFile:72) at mu.a(SourceFile:151) at mu.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.executeSync(SourceFile:203) at lm.a(SourceFile:60) at mv.a(SourceFile:72) at mu.a(SourceFile:151) at mu.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.execute(SourceFile:226) at gn.execute(SourceFile:186) at jb.a(SourceFile:319) at com.mendix.externalinterface.connector.RequestDispatching$Worker.a(SourceFile:170) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.a(SourceFile:161) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.apply(SourceFile:160) at akka.actor.Actor$class.apply(Actor.scala:545) at com.mendix.externalinterface.connector.RequestDispatching$Worker.apply(SourceFile:156) 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:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:192)
asked
2 answers
0

Turn off emulate cloud security and this should fix your problem.

answered
0

Your stack trace suggests that the role that is trying to send the email doesn't have the correct permissions - does the user role have access to the email module?

answered