Solved

What is the SenderEmailAddress equivalent for Outlook 2000

Posted on 2006-11-02
3
263 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
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Read this checklist to learn more about the 15 things you should never include in an email signature.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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…
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…

685 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