Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-1713

Les mails du workflow ne fonctionnent pas ou ont un contenu invalide

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Critical Critical
    • 4.1.0
    • 4.0.0
    • Formations
    • None

      Lors d'une proposition sans commentaire, j'ai cette erreur :

      Date:			Wed Feb 14 15:18:17 CET 2018 (1518617897014)
      Thread:		mail-sender-thread
      Message #:	261
      Level:		ERROR
      NDC:			
      Category:	org.ametys.core.util.mail.SendMailHelper
      Message:		Unable to send mail: [www] Contenu "Licence 3 Psychologie(Assidus et SUP)" proposé
      Location:	org.ametys.core.util.mail.SendMailHelper$MailSender.run(SendMailHelper.java:558)
      Thrown:
      javax.mail.MessagingException: IOException while sending message;
        nested exception is:
      	java.io.IOException: javax.mail.MessagingException: Empty multipart: multipart/alternative; 
      	boundary="----=_Part_1_494821158.1518617892403"
      	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1167)
      	at org.ametys.core.util.mail.SendMailHelper$MailSender.sendMail(SendMailHelper.java:669)
      	at org.ametys.core.util.mail.SendMailHelper$MailSender.run(SendMailHelper.java:554)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.io.IOException: javax.mail.MessagingException: Empty multipart: multipart/alternative; 
      	boundary="----=_Part_1_494821158.1518617892403"
      	at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:105)
      	at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:889)
      	at javax.activation.DataHandler.writeTo(DataHandler.java:317)
      	at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1485)
      	at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:865)
      	at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:462)
      	at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:103)
      	at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:889)
      	at javax.activation.DataHandler.writeTo(DataHandler.java:317)
      	at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1485)
      	at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1773)
      	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1119)
      	... 5 more
      

      Lors d'une proposition avec commentaire je reçois un mail du genre :

      null

      Commentaire : test commentaire

      idem lors de refus.

            bmaurel Bérénice Maurel
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: