This content has been marked as final.
Show 3 replies
-
1. Re: Sending Mail with attachment
swiderski.maciej Sep 27, 2012 7:29 AM (in response to s.azambasha)As far as I can tell, attachments are not supported with default EmailWorkItemHandler, you would need to extend it or create custom implementation.
HTH
-
2. Re: Sending Mail with attachment
s.azambasha Sep 27, 2012 8:42 AM (in response to swiderski.maciej)Hi Maciej,
Thanks for your reply.
I am actually trying with custom workitemHandler with apache commons mail functionality.
Modified form to display a Browse button (<input type = "file" name="FormObject"/>) on the form UI, and created a Process Variable with the name "FormObject".
Inside WorkItem in my custom workItemHandler class I am getting "FormObject" as a string with the content of the text file uploaded.(not getting as a File object).
(And not able to upload PDF,XLS... file formats)
My requirement is to browse the file and send as an attachment to the mail.
Please suggest me on this...
-
3. Re: Sending Mail with attachment
swiderski.maciej Oct 1, 2012 5:40 AM (in response to s.azambasha)