Solved

What is the SenderEmailAddress equivalent for Outlook 2000

Posted on 2006-11-02
3
253 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:Alan-Yeo
  • 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:Alan-Yeo
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

If you don't know how to downgrade, my instructions below should be helpful.
Read this checklist to learn more about the 15 things you should never include in an email signature.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

772 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