Get sent messages from IMAP server

I am using the library to get the emails from an IMAP server and everything works perfectly.
But I only get the messages from the INBOX folder. Is there a way to get the ones in the sent folder?
Thank you

My code:

ImapClient client = new ImapClient();
client.Host = “[imap.one.com](http://imap.one.com/)”;
client.Username = mail;
client.Password = pass;
        try
        {


            PageSettings pageSettings = new PageSettings { AscendingSorting = false };
            ImapPageInfo pageInfo = client.ListMessagesByPage(50, pageSettings);
            ImapMessageInfoCollection messages = pageInfo.Items;

            foreach (ImapMessageInfo info in messages)
            {...}

@liblit

In your case, you need to first access the Sent folder then traverse the messages inside that. Please visit this documentation link for your kind reference in this regard.

Doing ImapFolderInfoCollection folderInfoColl = client.ListFolders();
only obtain the INBOX folder:

|▶|[0]|{INBOX}|Aspose.Email.Clients.Imap.ImapFolderInfo|

Doing ImapMailboxInfo mailboxInfo = client.MailboxInfo;

mailboxInfo.SentMessages is null

@liblit

Can you please provide working sample code that you have used on your end son that we may try that to assist you further.

I found the problem: is a Spanish server and the sent folder it calls ‘Enviado’
Thank you for you support.

@liblit

It’s good to know that things are resolved on your end. Please share if I may help you furhter in this regard.