Click here to Skip to main content
15,895,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I have googled everything and tried every solution I could find but with no luck.
Does any one know how or have code to read e-mail text in your invox into a sql table using either C# or SQL itself?
Any help will be great as I have been stuck on this for some time now
thanks
Posted
Comments
CodeHawkz 3-May-11 5:13am    
You mean to read an email in the inbox and save it in the database? Is it? What is the email provider you are hoping to use?
Nev2 3-May-11 5:40am    
Thanks for the reply. Yes sorry I mean read e-mail from the inbox into a SQL table in a database, or even read the e-mail text in the inbox into a variable should C# be used.
It is an Microsoft outlook e-mail account.
hope this helps?
thanks
Abdul Rahman Hamidy 3-May-11 5:57am    
I recommend google "how to read outlook inbox using c#" this will give you good links, once read then simply insert them into database. I have done same issue 2 years ago in a project. (Google really helped me)

1 solution

Hi there,

Abdul Rahman Hamidy was right :) These links (Link 1[^],Link 2[^]) show how to access the inbox using MS Outlook and retrieve emails.

I assume you do not have a trouble in saving it in a database.

Hope this helps :) Regards
 
Share this answer
 
v2

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