DeleteAttachment Method
Deletes an attachment.
Syntax
void __fastcall DeleteAttachment(String id, String attachmentId);
Remarks
This method deletes an attachment. id takes the ID of the message the attachment is attached to. attachmentId takes the attachment ID of an existing attachment. This will not delete the attachment from the Attachments* properties.