locked
Downloading email messages with IMAPX RRS feed

  • Question

  • I just started using the open-source library called IMAPX to interact with my IMAP mailbox. I am following [this article on CodeProject](https://www.codeproject.com/Articles/1083307/Building-custom-email-client-in-WPF-using-Csharp). I can login properly and retrieve the email folders. But the problem is, the article seems to be incomplete which is leaving me in the middle of the road. Firstly the `Retrieving Email Folder`'s part didn't work. I had to do a workaround.Now, I am trying to download the emails of a folder.The article, regarding this issue, has only a few line of code:

        private void foldersList_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
           var item = foldersList.SelectedItem as EmailFolder;

           if(item != null)
           {
              // Load the folder for its messages.
              loadFolder(item.Title);
           }
        }

        private void loadFolder(string name)
        {
           ContentFrame.Content = new FolderMessagesPage(name);
        }

    The article doesn't explain anything about `FolderMessagesPage` . So, I made a test page named `FolderMessagesPage`. I literally have no idea what to put in that page. Can anybody please guide me?
    • Moved by Fei Hu Monday, March 5, 2018 7:50 AM Moved from C#
    • Moved by Bob Ding Thursday, March 15, 2018 7:55 AM not support
    Saturday, March 3, 2018 12:36 PM

All replies

  • Bes thing to do is ask your question on the page you got the source code from (which you may have done as I see a question posted there).

    I tried to download the source but the rar file could not be open and the zip file was not available.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Saturday, March 3, 2018 1:38 PM
  • Just go to nuget and download IMAPX from there.I really nedd help regarding this

    Saturday, March 3, 2018 2:25 PM
  • Hello Aousaf,

    According to your question is more related to WPF, I will move the thread to WPF forum for better solution and professional support.

    If you have some grammar or code errors in using C#, please feel free to contact us. We will try our best to give you a solution.

    Best regards,

    Neil Hu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, March 5, 2018 7:47 AM