ImapClient.CopyMessage doesn't return the new item Unique Server ID

Hi,


To copy an email message to a particular folder using the ImapClient I use the following method:

public void CopyMessage(string uniqueId, string folderName);

Now, this method doesn’t return the unique server ID of the new item. On the other hand the Append method of the same class does return the ID of the new created item:

public string AppendMessage(string folderName, MailMessage message);

If I have a look at the Exchange client (IEWSClient) the methods

string CopyItem(string itemUri, string destinationFolderUri);
string MoveItem(string itemUri, string destinationFolderUri);
string AppendMessage(string folder, MailMessage message);

they do return the server id of the new created item.

Why the CopyMessage method of the ImapClient doesn’t return such an ID ? Are there limitations on the IMAP protocol ? Are you planning to include this feature on your IMAP client ?

Thanks

Hi Luk,

Thank you for contacting Aspose Support team.

We have forwarded your this request to our Product team using issue id: EMAILNET-35150 in our issue tracking system. It will be analyzed for possible implementation and once there is some information available in this regard, we’ll update you here via this thread.

Hi,


thanks for the reply. Since you’re investigating the possibility to extend the IMAP API, would it be possible to include the Move operation as well to the IMAP client ?

something like

string MoveItem(string itemUri, string destinationFolderURI);

Thanks

Hi,

We would like to share with you that your requirement of MoveItem has been logged as an enhancement ticket with id: EMAILNET-35151. We’ll update you here once there is some information available in this regard.

With respect to your ticket of copying a message using ImapClient, our Product team has investigated the possibility and we are sorry to share that this won’t be possible as IMAP protocol doesn’t return any such information. Please feel free to write to us if you have any other query in this regard.

The issues you have found earlier (filed as EMAILNET-35151) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

Hi,

I would like to update you about EMAILNET-35150. We have
investigated the possibility of implementing such feature, but have come
to know that the Copy command of IMAP client does not return the new
message id. Thus, this enhancement can’t be implemented. Please feel
free to write to us if you have any further query in this regard.