I have a program that is started that connects to a test mailbox, it has two tabs, one has all my email details, the second tab has my email viewer.
When you click the send recieve button the emails are downloaded and saved as EML files to the emails directory or folder.
I need to see the email message and the attachments (if email has attachments) listed in the in the listbox, just the names, when I click on the listbox attachment name it must show me the attachment, the file must be created in the attachments folder.
I am using Mimekit and Mailkit in C# windows forms application as its free.
I am having trouble reading and displaying the messages as they are not the same every time.
So I need a solution quick to show messages and attachments from EML file.