copy (method)
Creates a copy of a message.
Syntax
- (void)copy:(NSString*)id :(NSString*)destinationId;
public func copy(_ id: String, _ destinationId: String) throws -> Void
Remarks
This method copies a message to a folder. id takes the ID of the message to be copied, and destinationId takes the ID of the folder the message will be copied to.