DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38939>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38939





------- Additional Comments From [EMAIL PROTECTED]  2006-03-12 14:31 -------

More information:
The "real" email is an instance of HTMLEmail, like so:
  HtmlEmail email = new HtmlEmail();
  email.setFrom( "[EMAIL PROTECTED]" );
  email.setBounceAddress( "[EMAIL PROTECTED]" );
  email.addReplyTo( "[EMAIL PROTECTED]" );
  email.addTo( "[EMAIL PROTECTED]" );
  email.setSubject( "subject" );
  email.setTextMsg( "textBody" );
  email.setHtmlMsg( "<p>htmlBody</p> );

I've added the following lines:

 email.addHeader( "Content-Type", "multipart/mixed" );
and
 debugEmail.addHeader( "Content-Type", "multipart/mixed" );


Now my exception is:
javax.mail.SendFailedException: Sending failed;
 nested exception is:
  javax.mail.MessagingException: IOException while sending message;
 nested exception is:
  java.io.IOException: javax.mail.MessagingException: No inputstream from 
datasource
  at javax.mail.Transport.send0(Transport.java:219)
  at javax.mail.Transport.send(Transport.java:81)
  at org.apache.commons.mail.Email.sendMimeMessage(Email.java:863)
  at org.apache.commons.mail.Email.send(Email.java:898)
  at 
com.djinnsoft.jade.email.EmailManager.processMailing(EmailManager.java:1205)





-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to