Solved

outlook 2007 VBA code to extract ....

Posted on 2014-09-27
7
310 Views
Last Modified: 2014-10-19
My OS is win 7 prof 64 bit, I use office 2007.  I want to locate the IP address of an email.  But I cannot seem to find the message button in my Outlook 2007, and I was researching Message ID 19737453 but the code bombed at :
 Dim safe_email As Redemption.SafeMailItem
The error was ; Could not find object or Library.
My purpose is to find the IP address of emails, preferably when I highlight the email and run the macro.  Will Chris' VBA code work for this?  Thank u for your suggestions.
0
Comment
Question by:jegajothy
  • 4
  • 3
7 Comments
 
LVL 37

Accepted Solution

by:
Neil Russell earned 500 total points
ID: 40347614
Have you got the Redemption Libraries installed?

http://www.dimastr.com/redemption/home.htm
0
 

Author Comment

by:jegajothy
ID: 40347678
In response to Neilsr, thank u for your suggestion.   I downloaded the single version - is this the right file to download and install?, but how does it get installed  After running the file, I looked at "References" of the vba, and I did not see anything called Redemption or Collaboration Data ....  Hope u can please walk me thru this process. Thank u.
0
 
LVL 37

Assisted Solution

by:Neil Russell
Neil Russell earned 500 total points
ID: 40347781
The stand alone version states that it is for use on a server when Outlook is NOT installed.  You say you're developing this code in outlook client?  if so you need to download and install the developer edition.
0
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.

 

Author Comment

by:jegajothy
ID: 40349119
In response to Neilsr, thank u for your advice.  I have since installed the developer edition.  The code runs now without an error.  I selected an email, then ran the macro, but I do not see the IP address displayed anywhere.  hope someone can please advise how the IP is displayed.  Thank u.
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40349738
Please post your completed code here
0
 

Author Comment

by:jegajothy
ID: 40349870
in response to Neilsr, attached is the code as a file.  It is a Macro.  The way I run it is first I highlight the email message which is in my Inbox, then I hit the Macro, and Run it.  But it does nothing.  
I was wondering if the IP addresses can be saved to a text file, with the email address and the IP address.
Thank u for your assistance.
Code-for-looking-up-IP-address-for-outlo
0
 

Author Closing Comment

by:jegajothy
ID: 40391099
thank u.
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

Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

770 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