Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9052

An error occured when sending mail with TLS/SSL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.0.7, 4.1.0
    • Component/s: Administration
    • Labels:
      None
    • Sprint:
      4.1 RC2

      Description

      2018-02-22 11:08:46,101 ERROR [org.ametys.core.schedule.AmetysJob$org.ametys.core.schedule.SendMail] (AmetysRuntimeScheduler_Worker-6;) An exception occured during the execution of the Schedulable 'org.ametys.core.schedule.SendMail'
      javax.mail.SendFailedException: Invalid Addresses;
        nested exception is:
              com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <unknown[54.36.103.88]>: Client host rejected: Access denied
      
              at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1862)
              at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1118)
              at org.ametys.core.util.mail.SendMailHelper$MailSender.sendMail(SendMailHelper.java:669)
              at org.ametys.core.util.mail.SendMailHelper.sendMail(SendMailHelper.java:284)
              at org.ametys.core.util.mail.SendMailHelper.sendMail(SendMailHelper.java:163)
              at org.ametys.core.util.mail.SendMailHelper.sendMail(SendMailHelper.java:139)
              at org.ametys.core.util.mail.SendMailHelper.sendMail(SendMailHelper.java:121)
              at org.ametys.core.util.mail.SendMailHelper.sendMail(SendMailHelper.java:102)
              at org.ametys.plugins.core.impl.schedule.SendMailSchedulable.execute(SendMailSchedulable.java:63)
              at org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:144)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <unknown[54.36.103.88]>: Client host rejected: Access denied
      
              at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1762)
              ... 11 more
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raphael Raphaël Franchet
                Reporter:
                fravetier Frederic Ravetier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: