The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Read , Delete and send e-mail from Outlook with VB.Net
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Henry SeymourPosted Jan 20, 2012, 6:09 PM
Hirenda, In your 2009 article, Read, Delete and send e-mail from Outlook with VB.Net, can you modify your program to read the SMTP Header file? Excellent article! Thanks,
David MillsPosted Jan 27, 2011, 4:30 AM
when I run this For Each newMail In InboxItems If newMail.UnRead Then Dim des As String = newMail.Body 'if u want to delete 'newMail.Delete() End If I receive an error Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook.MailItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063034-0000-0000-C000-000000000046}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). I added Imports Outlook = Microsoft.Office.Interop.Outlook = is that the wrong import?
ravi kumarPosted Jul 21, 2010, 8:54 PM
Hi, I am working on outlook integration using C#. We are created a predefined user in outlook. this user will get mail from outside application. my requirement is to read the mails of that user and i want to validate that mail(check attachments) and save into db or forward to other mail. Any help on this appreciated. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> Thanks </o:p>
papaPosted Feb 8, 2010, 12:25 PM
Has anyone found a good way to handle multiple version of Outlook on end-users machines? Say on our developement machines are running Outlook 2007. But end users may be running Outlook XP, or 2003, or upcoming 2010; How to put all these in our app? Seems easy if all developers as well as end users are running exact same version of Outlook, but more and more this in not the case and we are wanting to be sure our app runs on as many versiojns of Outlook out there...
Mazen KarkoukliPosted Oct 1, 2009, 2:54 PM
How do I connect to a specific outlook mailbox when there are multiple mailboxes in the same outlook account? Thank you