Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Method parameters

Allows to duplicate a message in MailUp.

  • int CloneMessage(string accessKey, string listId, string listGuid, int messageToCloneId, string subject)
  • accessKey: access key obtained using the Login method
  • listId: list identifier
  • listGuid: GUID of the list in MailUp 
  • messageToCloneId: ID of the message to be cloned
  • subject: subject of the cloned message. If null or empty, the subject will be the same as the original message


Parameters listGuid e listId can be used together or alternatively, passing one of them as null or empty: in the first case the list is verified using both parameters, otherwise using only the provided parameter.

The method returns:

  • the ID of the cloned message
  • "-1" if the operation is not completed successfully (e.g. for incorrect parameters or system failure).

CloneMessage method synchronously executes the following steps:

  1. Clonation of the data contained in the MailUp message
  2. Return to the caller of the message ID.


CloneMessage method asynchronously executes a copy of the files of the message to be cloned.

  • No labels