Email to an MS SQL Table

C

Curious Joe

I have some emails (~1,500,000) that I need to throw into a SQL System
for some extensive analysis.

I know how to script a macro to traverse through all of the emails in
the system but I am wondering if there is a way to access ADO/ODBC of
any type from VBA in Outlook.

Any help is appreciated.

Thanks,

CJ
 
K

Ken Slovak - [MVP - Outlook]

Just set a reference to the ADO of your choice in the Outlook VBA project
and use it all you want. I've used ODBC and ADO many times from Outlook VBA.
What you can't do is use an ADO or ODBC connection to Outlook and expect to
get anywhere near the actual number of properties that exist on an item, and
some properties (email addresses for one) are security restricted for ODBC
connections and not for native VBA Outlook object model code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top