I want to delete mails from outlook.
With Mail.dll .NET email component you can delete and manage emails on any IMAP and POP3 server (this includes Microsoft Exchange).
Outlook is a client application. If you want to delete email from a local pst store, Mail.dll is not going to help you, but if you want to delete emails from Exchange, read this post: Delete email messages using IMAP