473,326 Members | 2,175 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,326 software developers and data experts.

Getting MAPI to fetch() from a different directory?

Ted
I am trying to get the Fetch() to retrieve the messages from another folder
other than the "Inbox".
I would like to read the messages in the "Sent Items" or "Outbox".
I am using VB.NET version 7.0.

So far I have this and it works fine for the Inbox.

MAPISession1.SignOn()
MAPIMessages1.SessionID = MAPISession1.SessionID
MAPIMessages1.Fetch()

Thanks...
Nov 22 '05 #1
1 1367
"Ted" <te*******@ted-kyte.com> wrote in message
news:u2**************@TK2MSFTNGP09.phx.gbl...
I am trying to get the Fetch() to retrieve the messages from another folder other than the "Inbox".
I would like to read the messages in the "Sent Items" or "Outbox".
I am using VB.NET version 7.0.

So far I have this and it works fine for the Inbox.

MAPISession1.SignOn()
MAPIMessages1.SessionID = MAPISession1.SessionID
MAPIMessages1.Fetch()


http://www.mapi33.freeservers.com/

Nov 22 '05 #2

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

Similar topics

1
by: Axel | last post by:
Hi, I wrote a little tool. It makes a connection to Outlook and reads the mails in the folders. Its working fine..I can get a lot of properties from the messages. But no Email-addresses (FROM,...
1
by: Ted | last post by:
I am trying to get the Fetch() to retrieve the messages from another folder other than the "Inbox". I would like to read the messages in the "Sent Items" or "Outbox". I am using VB.NET version...
0
by: Thomas Roosen | last post by:
Hi, We're trying to extract datas from Exchange. We're using C#. With some MAPI objects, we manage to get into the directory in which the datas we want are stored. But now, we would like to get...
1
by: Peter Krikelis | last post by:
Hi, I am trying to automate the Outlook so that I can get all new messages received and look at them. I have added refference "Microsoft Outlook 10.0 Object Library" and written code: ...
11
by: Jim H | last post by:
I am trying to go through my Outlook (2003) address book. The code goes through the Items list and prints all the last names but after it hits 114 (out or 126 contacts) I get a "sepcified cast is...
0
by: Ted | last post by:
I am trying to get the Fetch() to retreive the messages from another folder other than the "Inbox". I would like to read the messages in the "Sent Items" or "Outbox". I am using VB.NET version...
4
by: Brian Hampson | last post by:
I recently upgraded to Outlook 2007 B2TR and have found that I can no longer code against MAPI.DLL It's gone :( Using C#, I used to get the MAPI session, and from that I could change the out of...
1
by: cmahale | last post by:
Hi, I'm creating the vb application using MAPI control. I've added both controls in my vb program (MapiSession & Mapimessages). Please check my below code. Private Sub Form_Load() 'Sign...
0
by: nawaray | last post by:
hi.... i did this form for sending emails... the form consists of: text boxex: from, to , subject , attachment... buttons: send , forward, ...etc when i fill the info and send the email it...
3
by: GayathriP | last post by:
This article discusses about how can we access the inbox through MAPI using C# .NET. It also discusses about how to store the attachment in the local directory, how to create a folder in the inbox ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.