Solved

outlook 2007 VBA code to extract ....

Posted on 2014-09-27
7
326 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

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…
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

752 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