If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Is it possible to Extract IP Address from the message headers of E-Mails in .PST file.
Hi, I am working with .PST files to extract contents(programatically
using VB.NET) like sender's e-mail, the date and time sent etc from each of the individual E-Mails. I also want to extract sender's IP address from each of the E-Mail in .PST file. I know there is entry of the IP address in the SMTP header, but don't know how to extract it or access the header programatically. Can someone please tell me how to do it? Or is there any property of MailItem Object to achieve this? |
Ads |
#3
|
|||
|
|||
Is it possible to Extract IP Address from the message headers of E-Mails in .PST file.
Hi,
I want to Extract IP address for e-mails in an archived .PST file e.g. backup.pst. And not of the e-mails in live session. CDO gives the header of an e-mail in a live session. I want it for an archived file. I am reading an archived .PST file (backup.pst) and converting it to ..txt files, one for every e-mail. While storing it to .txt i want IP address along with body and subject of e-mail. I am able to get subject and body but not IP address. Can somebody help me? |
#4
|
|||
|
|||
Is it possible to Extract IP Address from the message headers of E-Mails in .PST file.
If the PST file is opened in that Outlook session then CDO can easily get
the Internet email headers just as it would from an item in a default PST file. Just iterate the Stores collection of the Session object until you find the Store you want, get whatever folder you want and its Messages collection, then iterate the Messages collection and pop the header out of the Message object and parse it. If you're having problems be more specific or show the code you're using. BTW, this isn't a programming group. Programming questions are better in the microsoft.public.outlook.program_vba group. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Niks" wrote in message oups.com... Hi, I want to Extract IP address for e-mails in an archived .PST file e.g. backup.pst. And not of the e-mails in live session. CDO gives the header of an e-mail in a live session. I want it for an archived file. I am reading an archived .PST file (backup.pst) and converting it to .txt files, one for every e-mail. While storing it to .txt i want IP address along with body and subject of e-mail. I am able to get subject and body but not IP address. Can somebody help me? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Synchronising Message Headers | Kevo | Outlook - General Queries | 6 | April 19th 06 10:56 PM |
Address book missing in pst file on new computer | pamstolen | Outlook - Installation | 3 | April 13th 06 09:35 PM |
Copying PST file resets unseen-message info | Michael Kairys | Outlook - General Queries | 6 | April 12th 06 08:42 PM |
All contacts, address books and email in the PST file? | Patrickc | Outlook - Using Contacts | 1 | March 27th 06 09:31 PM |
pst file option missing under new outlook data file dialog | UncleBuckle | Outlook - Installation | 2 | February 24th 06 11:49 PM |