public class MailMessageService extends Object
| Constructor and Description |
|---|
MailMessageService() |
| Modifier and Type | Method and Description |
|---|---|
void |
attachHTMLMessage(javax.mail.Message message,
org.imixs.workflow.ItemCollection workitem)
This method extracts a HTML representation from a MimeMessage and adds the
HTML file to a given workitem.
|
void |
attachMessage(javax.mail.Message message,
org.imixs.workflow.ItemCollection workitem)
This method attaches a Mail Message object as a .eml file to a given
workitem.
|
void |
attachPDFMessage(javax.mail.Message message,
org.imixs.workflow.ItemCollection workitem,
String gotebergServiceEndpoint)
This method extracts a HTML representation from a MimeMessage and converts
the HTML into a PDF file by using the Goteberg Sevice.
|
public void attachHTMLMessage(javax.mail.Message message,
org.imixs.workflow.ItemCollection workitem)
throws IOException,
javax.mail.MessagingException
The name of the attached file is _subject_.html
message - javax.mail.MessagingExceptionIOExceptionpublic void attachPDFMessage(javax.mail.Message message,
org.imixs.workflow.ItemCollection workitem,
String gotebergServiceEndpoint)
throws IOException,
javax.mail.MessagingException
The name of the attached file is _subject_.html
message - javax.mail.MessagingExceptionIOExceptionpublic void attachMessage(javax.mail.Message message,
org.imixs.workflow.ItemCollection workitem)
throws IOException,
javax.mail.MessagingException
The name of the attached file is _subject_.eml
message - javax.mail.MessagingExceptionIOExceptionCopyright © 2016–2021 Imixs Software Solutions GmbH. All rights reserved.