Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 377
  • Last Modified:

outlook 2007 VBA code to extract ....

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
jegajothy
Asked:
jegajothy
  • 4
  • 3
2 Solutions
 
Neil RussellTechnical Development LeadCommented:
Have you got the Redemption Libraries installed?

http://www.dimastr.com/redemption/home.htm
0
 
jegajothyretiredAuthor Commented:
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
 
Neil RussellTechnical Development LeadCommented:
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
jegajothyretiredAuthor Commented:
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
 
Neil RussellTechnical Development LeadCommented:
Please post your completed code here
0
 
jegajothyretiredAuthor Commented:
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
 
jegajothyretiredAuthor Commented:
thank u.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now