473,385 Members | 1,983 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,385 software developers and data experts.

Outlook MailItem

I am using Outlook MailItem to reference emails in the local inbox, but
I need to refer to the sender's email and the received by email and they
do not seem to be accessible in the MailItem object. Does anybody know
how to get at them?
*** Sent via Developersdex http://www.developersdex.com ***
Apr 13 '07 #1
1 3789
On Apr 13, 11:36 am, Mike P <mike.p...@gmail.comwrote:
I am using Outlook MailItem to reference emails in the local inbox, but
I need to refer to the sender's email and the received by email and they
do not seem to be accessible in the MailItem object. Does anybody know
how to get at them?

*** Sent via Developersdexhttp://www.developersdex.com***
Yes, it can be deduced from item.ConversationIndex and
item.ConversationTopic. You can use advancedsearch for the
conversationtopic while filtering for conversationindex to make it
fast.

Recipe:
Get the value of the ConversationIndex property, delete the last 5
bytes (10 chars since OOM returns it as a hex string), then try to
find a message with that conversation index and - topic.

Cheers,
Stefan.

Apr 13 '07 #2

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

Similar topics

15
by: Sven Templin | last post by:
Hello all, our configuration is as following described: - OS: Windows 2000 - Apache server 1.3 - Php 3.8 - MS outlook client 2000 _and_ no SMTP server available in the whole intranet.
1
by: Deepak Bhatia | last post by:
Hello Friends I wrote a simple VB application using Outlook Object Model. This application is used t send mail via MS Outlook. I wrote following code on Send button: Set mailitem =...
0
by: Joseph Kormann | last post by:
I'm trying to tie my application into the local running Outlook application through the Interop.Outlook.DLL. I'm looking for new / unread messages in the Inbox. No problem getting into the Inbox,...
9
by: John | last post by:
Hi I am using the following code to search for an email message with id myID; Dim SentFld As Outlook.MAPIFolder Dim Email As Outlook.MailItem Dim I As Integer OutlookApp = New...
10
by: John | last post by:
Hi When I open a new outlook email from vb.net, sometimes outlook is very slow to appear or occasionally outlook freezes completely. I am targeting mixed office2000/xp environments so I am...
2
by: John | last post by:
Hi I am trying to find the way to create an email in outlook. I am using the code given at the end. It works fine the first time but calling the code second time gives the following error; ...
8
by: Li Pang | last post by:
Hi, I used following codes to pass a message item from CDO to Outlook. They worked fine when I used outlook 2000, but get an error of "Specified cast is not valid." when I used Outlook 2003....
7
by: Dean Spencer | last post by:
Can anyone help? I am importing Emails from Outlook using the following code: Public Function ScanInbox(SubjectLine As String) Dim TempRst As Recordset Dim OlApp As Outlook.Application Dim...
2
by: Mike P | last post by:
I am switching some code from using a reference to Outlook 10 to Outlook 11, but it is breaking some code where I was referring to an inbox items collection and trying to get at an individual item...
1
by: arnott | last post by:
hi all, I am writing a add-in for Outlook 2007 using C# and VSTO ( Visual Studio 2008). When the user clicks on each mailitem in the inbox (or any folder) in the active explorer window, the...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.