473,394 Members | 1,787 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,394 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 1370
"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: 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
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?
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...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.