Delete All The Messages In A Folder

Topics: Help requests
Feb 20, 2013 at 9:57 PM
Hi there guys!
I wanted to know if there's a way to delelte all the messages of a specified folder.

I think i have the idea its like this but i dont know:

client.Folders["Enviados"].DeleteMessage(
Coordinator
Feb 21, 2013 at 8:57 AM
Hi rodolfolopes!

If you need to remove all the messages from a folder, simply use the EmptyFolder method:
client.Folders["Enviados"].EmptyFolder();
Best regards,

Pavel Azanov