Oracle Community | 807595 | 1 decade ago
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Smtp Relay -Fehlermeldung Ehlo Handshake | 2 years ago
  2. 0

    problem with html message in javamail

    Oracle Community | 1 decade ago | 807595
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Take a look at the code below: if( debugMode ) { if( logger.isInfoEnabled() ) { "DEBUG mode is on. Sending email to " + debugEmailAddress ); } MultiPartEmail debugEmail = new MultiPartEmail(); if( logger.isDebugEnabled() ) { debugEmail.setDebug( true ); } debugEmail.setBounceAddress( debugEmailAddress ); debugEmail.setFrom( debugEmailAddress ); debugEmail.addReplyTo( debugEmailAddress ); debugEmail.addTo( debugEmailAddress ); debugEmail.setSubject( "Test Message: " + email.getSubject() ); debugEmail.setMsg( "The email manager is operating in test mode. " + "Attached is a message it would have sent had it been running for real." ); debugEmail.addPart( new MimeMultipart( new MimePartDataSource( email.getMimeMessage() ) ) ); debugEmail.setMailSession( emailSession ); messageId = debugEmail.send(); } I get the following exception when I call debugEmail.send(): 2006-03-12 09:07:01,140 [ main] INFO DEBUG mode is on. Sending email to 2006-03-12 09:07:01,640 [ main] WARN Error emailing sent item 2000035: Sending the email to the following server failed : null:25 javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: IOException while sending message; nested exception is: "text/plain" DataContentHandler requires String object, was given object of type class javax.mail.internet.MimeMultipart at javax.mail.Transport.send0( at javax.mail.Transport.send( at org.apache.commons.mail.Email.sendMimeMessage( at org.apache.commons.mail.Email.send( at (line 1205 corresponds to "messageId = debugEmail.send();" in my code)

    Apache's JIRA Issue Tracker | 1 decade ago | Dave Cherkassky

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.mail.internet.MimeMultipart

      No message provided

      at javax.mail.Transport.send0()
    2. JavaMail API
      1. javax.mail.Transport.send0(
      2. javax.mail.Transport.send(
      2 frames
    3. Unknown
      1. SendMail.main(
      1 frame