/ Forums / Advansys Formativ / Creating Solutions with Formativ / Attachments…. / Reply To: Attachments….
February 23, 2004 at 2:59 pm
#6910
Thank you for clarifying your aim.
In order to create a new message in the same folder as the source message, I suggest you use something like the following:
set oTargetFolder = Client.ClientState.SelectedFolder call oTargetFolder.Messages.Add(f)
(where f is the source message object).
If used on a local folder, this should do nothing. If used on a shared folder, this should create a copy of the original message (see the online documentation here for more details on this).
There is also the .Clone method available in the Message object, but (as I understand the documentation) this will create an extra copy of the message in every folder that contains the original.
I hope this helps.
Advansys Support