We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Is it possible to extend CredentialsByHostClient abstract class?

Hi,


I am using both ImapClient and Pop3Client which both inherit from CredentialsByHostClient, and they have many practically identical methods like ListMessages, FetchMessage, DeleteMessage, various Being/End messages… Would it be possible to put these as abstract methods into the main CredentialsByHostClient class, so I could use a mail client polymorphically to some extent, regardless of whether it’s an ImapClient or Pop3Client, for methods that really do the same for both?

Thanks,
Martin

Hi Martin,


I have discussed your requirements with our development team and come to know that the library has some limitations due to which this may not be possible at present. Unfortunately, this can’t be implemented in near future as well due to other high priority tasks on our development plan. We appreciate your understanding in this regard.