Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Outlook Mail Item

0 views
Skip to first unread message

sha...@my-deja.com

unread,
Jul 31, 2000, 3:00:00 AM7/31/00
to
Hi,

Im using the Outlook Object through Visual Basic.
More specifically the Mail Item. I wish to design
my own form in VB and display Email information
such as To, From, Subject etc.

The problem is that when i use MailItem.To or
MailItem.SenderName, it returns the actual users
name ie "John Smith", how can i get the actual
Email address of this Sender and the Receiver ?

Thanks,


Sent via Deja.com http://www.deja.com/
Before you buy.

sha...@my-deja.com

unread,
Jul 31, 2000, 3:00:00 AM7/31/00
to

Tim Zych

unread,
Jul 31, 2000, 3:00:00 AM7/31/00
to

From what I understand, the current user's SMTP address is not exposed to
the Outlook object model. You have to use CDO, or Collaboration Data Object.
Surely one of the Outlook gurus can assist you more with this, but you may
find the following helpful:

To get the email address of the sender (not sure how to get email address of
receipient) check out:

www.cdolive.com/cdo5.htm

=> "Get the SMTP address of the current user"

Tim

<sha...@my-deja.com> wrote in message news:8m4mlr$e6i$1...@nnrp1.deja.com...

0 new messages