I want to delete mails from outlook.
With Mail.dll you can delete and manage email on any IMAP or POP3 server (including 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:
VAT: PL 5213195875
02-707, Warsaw Poland