Importing Mails from Outlook 2003

D

Deepchand.P

Hi all this is my very 1st post in google grps. pardon me if i posted
in a wrong place(i saw many grps relting to outlook i dunno which to
select exactly)


I am working on a email client it almost finished except importing.Here
r my requests.

1.Disabling the security alert in outlook 2003

"A program is trying to access e-mail addresses you have stored in
Outlook. Do you want to allow this? If this unexpected, it may be a
virus and you should choose "No".

What exactly i need is disable this security before import and
re-enable it after the import.i need a piece of code that doesn't rely
on any addins or thirdparty prog(microsoft provides an addin tht
contains OlSecurityManager class which can be used to disable/enable
this).


2.Doubt in Import statements

#pragma warning(disable:4146)

#import "C:\Program Files\Common Files\Microsoft
Shared\OFFICE11\mso.dll" \
no_namespace
#import "C:\Program Files\Microsoft Office\OFFICE11\msoutl.olb" \
rename_namespace("Outlook")
#pragma warning(default:4146)
using namespace Outlook;


these are the statements for outlook 2003

any1 know what are the import statements for MS Outlook 2007

plz post it
 
N

NewScience

Have you tried saying Yes? I believe it asks a time limit for processing to
occur. This is a one time setting.
The next time you do something similar, it will ask again.
 

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