C# code to retrieve last 1 hour mail and save it in List<MailMessage>

Hi All,

I need to create custom activity to retrieve last 1 hour mails only using IMAP and store it in List. If anyone is aware like what will be the C# code it will be very helpful.

Any help will be appreciated.

Thanks!
Anmol

The following links will give you an idea. Please check.

Regards,
Karthik

@KarthikByggari I am new to C# so I am having hard time to understand the code. I will be very grateful if you can help me on this to select the right code.

Thanks!