Plug-ins > Outlook Manipulator

Attachments

(1/1)

solutionmakers:
Greetings:

We are integrating the OM v4 for a client. They currently store their attachments in container fields. I don't see in your documentation a way to support this. ?

I am considering saving the attachment to a network share, then use the path. What is the index function in the PCEM_SaveAttachment parameter call for? Any other suggestions?

Thanks!

Chris:
Hi solutionmakers,

The index parameter in the PCEM_SaveAttachment function refers to the index of the attachment in the message that is opened.  It is required because a mail message may have more than one attachment.

Set Variable[$count ; PCEM_GetAttachmentCount ]
Set Variable[$index ; 1 ]
Loop
 Exit Loop If[ $index > $count]
 Set Variable[$path ; ...
 ...
 Set Variable[ $x ; PCEM_SaveAttachment[ $path ; $index]
 #covert the windows path to a FM path and import to the container field
 ...
 #increment the index
 Set Variable[ $index ; $index + 1]
 #
End Loop


Chris

Navigation

[0] Message Index

Go to full version