How to send attachments using Send activity?
book
Article ID: KB0091503
calendar_today
Updated On:
TIBCO Collaborative Information Manager
-
Not Applicable
-
Show More
Show Less
Description
Resolution: Use the InAttachments as the in parameter in the send activity and pass the path of the file to be attached relative to the commondir as follows: <Activity Name="SendEmail"> <Action>Send</Action> <Description>Send an email</Description> <Execution>ASYNCHR</Execution> <Parameter direction="in" eval="constant" type="string" name="Protocol">SMTP</Parameter> <Parameter direction="in" eval="constant" type="string" name="Address">xyz@tibco.com</Parameter> <Parameter direction="in" eval="constant" name="Sender" type="string">abc@tibco.com</Parameter> <Parameter direction="in" eval="constant" name="Form" type="string">standard/forms/fm26ca.xml</Parameter> <Parameter direction="in" eval="variable" name="InDocument" type="document">workDoc</Parameter> <Parameter direction="in" eval="constant" name="Presentation" type="string">com.martquest.eml.html.EmailProductEditTimeOut</Parameter> <Parameter direction="in" eval="constant" name="InAttachments" type="string">/Temp/customUtil</Parameter> </Activity>
Issue/Introduction
How to send attachments using Send activity?
Feedback
thumb_up
Yes
thumb_down
No