Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2290

Sending emails do not work while the test is ok in admin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.4, 4.7.17, 4.9.0
    • None
    • None
    • None

      The test in the admin does not try to authenticate on the email server.

      When sending an email I have this error while in the admin the check is ok

      2016-12-05 14:58:24,802 ERROR [org.ametys.plugins.forms.processing.ProcessFormAction] (http-nio-8080-exec-6;/preview/plugins/forms/submit.html) Error sending the notification mail to xxxx
      com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated
      
      	at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2108)
      	at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1609)
      	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1117)
      	at org.ametys.core.util.mail.SendMailHelper$MailSender.sendMail(SendMailHelper.java:654)
      	at org.ametys.core.util.mail.SendMailHelper.sendMail(SendMailHelper.java:269)
      	at org.ametys.core.util.mail.SendMailHelper.sendMail(SendMailHelper.java:214)
      	at org.ametys.core.util.mail.SendMailHelper.sendMail(SendMailHelper.java:189)
      	at org.ametys.core.util.mail.SendMailHelper.sendMail(SendMailHelper.java:170)
      	at org.ametys.plugins.forms.processing.ProcessFormAction._sendNotificationEmails(ProcessFormAction.java:1358)
      	at org.ametys.plugins.forms.processing.ProcessFormAction._sendEmails(ProcessFormAction.java:1329)
      	at org.ametys.plugins.forms.processing.ProcessFormAction.act(ProcessFormAction.java:228)
      	at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:111)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	
      

            Unassigned Unassigned
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: