-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: jayaveer
Message 6 in Discussion


try this


Dim mobjOutlook As New Outlook.ApplicationClass

Dim moNS As Outlook.NameSpace

Dim mcContacts 
As Outlook.MAPIFolder

Dim moItems 
As Outlook.Items

Dim moCt As Outlook.MailItem

moNS = mobjOutlook.GetNamespace("mapi")

mcContacts = _

moNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox)

' set to the contact folder

moItems = mcContacts.Items

'moItems = moItems.Restrict("[MessageClass] 
= 'IPM.Contact'")

' filter to select only contact 
items

'moItems.Sort("[EMail1Address]", False) ' 
sort by email address

moNS.Logon("jayaveer", , False, True)

moCt = moItems.GetFirst

ListBox1.Items.Add(moCt.ReceivedOnBehalfOfName).ToString()

For i = 1 To moItems.Count - 1

moCt = moItems.GetNext

ListBox1.Items.Add(moCt.Body).ToString()

Next

  -----Original Message-----
From: rajusavadi 
  [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 5:58 
  PM
To: BDOTNET
Subject: Re: 
  Outlook


  
    
      
      New Message on BDOTNET
    
      

  Outlook


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 4 in 
                Discussion 
      
        
          
            
            
              From: rajusavadi 
            
              
<LABEL id=HbSession 
                SessionId="213489033"></LABEL> 
                 
                Hi,
                   I'm trying to read and 
                save the messages from outlook express, but I could n't able do 
                the same. Can anyone help me. Its urgent. I dont know why I'm 
                not getting any reply for my mail. No one is there to ans my 
                quetions.
                 
                Thanks n Regards
                Gururaj Savadi 
                

View other groups in this 
    category. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to