Solved

What is the SenderEmailAddress equivalent for Outlook 2000

Posted on 2006-11-02
3
273 Views
Last Modified: 2010-04-08
.Recipients.Add Item.SenderEmailAddress

works fine in office 2003 but not in 2000, what is the equivalent?
0
Comment
Question by:Antonio King
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
mvidas earned 500 total points
ID: 17858012
Hi Alan,

Does your PC have CDO installed on it? It was an optional component while installing outlook 2000.  If you do, take a look at http://www.outlookcode.com/d/code/getsenderaddy.htm
The native outlook 2000 object model doesn't have access to the actual address, just the name.  You have to use cdo (or other components, CDO is just the most common) to get at it.

Matt
0
 

Author Comment

by:Antonio King
ID: 17858559
How do I use this code?
0
 
LVL 35

Expert Comment

by:mvidas
ID: 17858589
You can tell if you have CDO installed by going to tools / references and looking for Microsoft CDO (or search the registry for "CDO.Message")

Assuming you do, and you're using the "GetFromAddress" function from that page, replace your line of code above:

' .Recipients.Add Item.SenderEmailAddress
 .Recipients.Add GetFromAddress(Item)

Matt
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question