Question abt importing outlook mssgs into access *10152008

J

J.Alladien

Hello everybody,

When I import messages from Outlook fe the inbox why does not the complete
e-mail adress of the sender get displayed, rather then the name which gets
displayed;
fe I get in the From field"JOHN SMITH" and I would like it to display
"(e-mail address removed)"

Is there a way I can achieve that?
Thanks in advance!
 
C

Clif McIrvin

J.Alladien said:
Hello everybody,

When I import messages from Outlook fe the inbox why does not the
complete
e-mail adress of the sender get displayed, rather then the name which
gets
displayed;
fe I get in the From field"JOHN SMITH" and I would like it to display
"(e-mail address removed)"

Is there a way I can achieve that?
Thanks in advance!


What little I have done with Outlook I did not find the Outlook Object
Model to be intuitive -- with time it did begin to come together for me,
though.

This may have something to do with hiding the email address (from the
installed help for Outlook 2003; Topic: MailItem Object)
Remarks
If a program tries to reference any type of recipient information by
using the Outlook object model, a dialog box is displayed that asks you
to confirm access to this information. You can allow access to the
Address Book or recipient information for up to ten minutes after you
receive the dialog box. This allows features, such as mobile device
synchronization, to be completed.

You receive the confirmation dialog box when a solution tries to
programmatically access the following properties of the MaiItem object:

a.. SentOnBehalfOfName
b.. SenderName
c.. ReceivedByName
d.. ReceivedOnBehalfOfName
e.. ReplyRecipientNames
f.. To
g.. CC
h.. BCC
i.. Body
j.. HTMLBody
k.. Recipients
l.. SenderEmailAddress
and from the MailItem properties list I find:
SenderEmailAddress Property
Returns a String that represents the e-mail address of the sender of the
e-mail message, meeting item, or post. This property corresponds to the
MAPI property PR_SENDER_EMAIL_ADDRESS. Read-only.

expression.SenderEmailAddress

expression Required. An expression that returns one of the objects in
the Applies To list.


Remarks
Microsoft Outlook blocks code that attempts to access the
SenderEmailAddress property for security reasons. If you run a
third-party add-in, custom solution, or other program that uses the
SenderEmailAddress property in Microsoft Office Outlook 2003, you may
receive the following warning:

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

HTH
 
J

J.Alladien

Hi Cliff,

Hmm ...Interesting and if I understand you correctly this can only be done
with 3rd party software?
If yes,can you send me info on a reliable one?
 

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