Click here to Skip to main content
16,004,833 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How to read .msg(Outlook Mails) in late binding CreateObject("Outlook.Application").


Thanks,
GSS
Posted
Comments
ZurdoDev 18-Feb-14 7:10am    
There are probably lots of examples online, if they are still around. Where are you stuck?
Gssankar 18-Feb-14 7:15am    
Thanks Ryandev,
object oApp;
oApp = Activator.CreateInstance(Type.GetTypeFromProgID("Outlook.Application"));

Then how to read the mail
ZurdoDev 18-Feb-14 7:25am    
If you google CreateObject("Outlook.Application") read mail the first result is an example, http://www.nullskull.com/a/996/read-outlook-mails-and-send-mails-using-vb.aspx
Gssankar 18-Feb-14 7:29am    
S but it is showing the unread mails. Here i will save the .msg file and browse the file and read that msg file.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900