Solved

What is the SenderEmailAddress equivalent for Outlook 2000

Posted on 2006-11-02
3
230 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
Comment Utility
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
Comment Utility
How do I use this code?
0
 
LVL 35

Expert Comment

by:mvidas
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
Use email signature images to promote corporate certifications and industry awards.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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: …

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now