|
|
|||||||||||||||||
|
The copy_message method creates a copy of a message, assigning ownership of the copied message to a specified fax server user. The functionality of forwarding a message in the Received queue from one user to another can be achieved by passing true for the delete_source_on_success parameter, in which case the source message will be deleted if it is successfully copied to the target user.
|
|||||||||||||||||
|
Parameters: |
|||||||||||||||||
|
|||||||||||||||||
|
Return Value: |
|||||||||||||||||
| A COPY_MESSAGE_RESULT object containing a result code and string, and a new message handle if the function was successful. | |||||||||||||||||
Example: |
|||||||||||||||||
public void forward_message_to_new_user(string message_handle,
string to_this_user)
{
NSSOAP ns = new NSSOAP();
COPY_MESSAGE_RESULT cm =
ns.copy_message("supervisor",
"",
message_handle,
to_this_user,
true);
if (cm.status_num != STATUS_NUM.NoError)
{
MessageBox.Show(cm.status_string);
}
} |
|||||||||||||||||
See Also: |
|||||||||||||||||
| send_message, get_message_q | |||||||||||||||||
|
|