Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-2411

no object DCH for MIME type multipart/mixed error sending email in pipeline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.60
    • 0.60
    • None

    Description

      When trying to send an email in a pipeline, I received this error:  I have attached a sample pipeline - need to fill in email server details in the constants step

       

      Mail.0 - ERROR: Unexpected error
      Mail.0 - ERROR: Unexpected
      Mail.0 - ERROR: org.apache.hop.core.exception.HopException: 
      Mail.0 - Can not send mail!
      Mail.0 - IOException while sending message
      Mail.0 - 
      Mail.0 - at org.apache.hop.pipeline.transforms.mail.Mail.processRow(Mail.java:498)
      Mail.0 - at org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:68)
      Mail.0 - at java.lang.Thread.run(Thread.java:748)
      Mail.0 - Caused by: javax.mail.MessagingException: IOException while sending message;
      Mail.0 -   nested exception is:
      Mail.0 - javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; 
      Mail.0 - boundary="----=_Part_7_260350062.1610204782422"
      Mail.0 - at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1167)
      Mail.0 - at org.apache.hop.pipeline.transforms.mail.Mail.sendMail(Mail.java:714)
      Mail.0 - at org.apache.hop.pipeline.transforms.mail.Mail.processRow(Mail.java:481)
      Mail.0 - ... 2 more
      Mail.0 - Caused by: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; 
      Mail.0 - boundary="----=_Part_7_260350062.1610204782422"
      Mail.0 - at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:896)
      Mail.0 - at javax.activation.DataHandler.writeTo(DataHandler.java:317)
      Mail.0 - at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1485)
      Mail.0 - at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1773)
      Mail.0 - at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1119)

      Attachments

        1. emailError.hpl
          8 kB
          Dave Campen

        Activity

          People

            Unassigned Unassigned
            dcampen Dave Campen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: