473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Accessing Internet Headers

I am trying to write a c# program to access Outlook internet headers for
messages in a public folder.

When I look at these messages in Outlook, and select View/Options, there is
information in the Internet Headers scrollbox.

BUT -- when i run the Visual Basic code ( so far this is the only documented
method I have found, so I'm converting it to c# ) found here:

http://support.microsoft.com/?kbid=194870

It throws an error saying the MAPI_E_NOT_FOUND, i.e., the property doesn't
exist.

YET -- this code works on other mail in my Inbox.

Other articles tell me that the Outlook.MailItem does not contain access to
the Internet Headers so I am using the MAPI object in CDO -- but, as I said,
some emails do not allow the headers to display.
Since I can see the headers in Outlook, shouldn't the Outlook Object Model
allow me to access them ?


Nov 15 '05 #1
1 4566
PR_TRANSPORT_MESSAGE_HEADERS is only available on the messages received from
the internet. Look at the same message using MdbView or OutlookSpy, do you
see this property?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"john bailo" <jb****@vestcom.com> wrote in message
news:8c******************************@news.teranew s.com...
I am trying to write a c# program to access Outlook internet headers for
messages in a public folder.

When I look at these messages in Outlook, and select View/Options, there is information in the Internet Headers scrollbox.

BUT -- when i run the Visual Basic code ( so far this is the only documented method I have found, so I'm converting it to c# ) found here:

http://support.microsoft.com/?kbid=194870

It throws an error saying the MAPI_E_NOT_FOUND, i.e., the property doesn't
exist.

YET -- this code works on other mail in my Inbox.

Other articles tell me that the Outlook.MailItem does not contain access to the Internet Headers so I am using the MAPI object in CDO -- but, as I said, some emails do not allow the headers to display.
Since I can see the headers in Outlook, shouldn't the Outlook Object Model
allow me to access them ?


Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: build | last post by:
G'day All, I'm trying to code a "Data Downloader" to automatically login and download data from www.Investorweb.com.au using the Internet Transfer Control. I have a some VB experience but no...
5
by: Craig Anderson | last post by:
Can anyone tell me the best way to access a hidden object in a form? I could use a hard-coded index to the elements of the form, but it's too easy to add something before the hidden object and mess...
0
by: john bailo | last post by:
I am attempting to create a c# program to iterate through the messages in an Outlook/Exchange public folder and extract the headers. My apologies to the VB/VBA groups, but you seem to have more...
0
by: john bailo | last post by:
I am trying to write a c# program to access Outlook internet headers for messages in a public folder. When I look at these messages in Outlook, and select View/Options, there is information in...
0
by: Dave Alvarado | last post by:
I'm working on some code that gathers data from a web interface to one of our servers (classic ASP). The problem is that the site uses session variables to store login information, so to move from...
5
by: Daniel Corbett | last post by:
I am trying to save a file dynamically created in a webpage. I get the following headers, but cannot figure out how to save the attachment. I am basically trying to replicate what internet...
2
by: Brandon | last post by:
Running IIS 6, Classic ASP Browser: IE and/or Mozilla I have an application that allows users to store documents on my server. When they need to access/download the documents, my application...
4
by: Jon | last post by:
I wrote a VS 2005 C# express programme that accesses a web service. It works fine when there's a direct connection to the internet, but on two different PCs with internet access via a proxy, I get...
2
by: dcblair | last post by:
Hi guys and girls. I can't seem to figure this one out. Here is my setup: Speedtouch 536 DSL Modem, Nexxt 4 Port Wireless Router, CNET CIC 920W Wireless IP Camera. The camera is set up in...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.