That's why i'm trying to do for a while now and i came to the following problems :
- if i use the action and set the src attribute to a cocoon pipeline
producing html, the Content-disposition = attachment header is added,
which i don't want (i want the html inline), but the pdf file is
attached correctly to the mail
- I can manage to send the html inline using the javaMail api directly
from flowscript, but authentication and construction of the message is
more complex than using the action, and i get the following error when
sending the message :
ERROR 2005-11-21 19:57:05,710 [flow] Thread-108 - javax.mail.MessagingException: IOException while sending message;
nested exception is:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/pdf
I looked at the code of the MessageSender class, and i saw that it get the mime type by using the sourceResolver component.
Since the mime type returned by the sourceResolver is also
application/pdf i know it's not something to do with versions of the
activation framework or some
- Sending html messages with pdf attachments using sendMail ac... Marc Salvetti
- Re: Sending html messages with pdf attachments using se... Marc Salvetti
- Re: Sending html messages with pdf attachments usin... Marc Salvetti
- Re: Sending html messages with pdf attachments ... Ralph Goers
- Re: Sending html messages with pdf attachme... Marc Salvetti
