Results 1 to 2 of 2

Thread: How do I check if I have got any new mail, through my program ?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 1999
    Posts
    87
    How can I check my Hotmail, or regular POP3 mail, if I have got any new ?
    Please, really need help with this.

    Thank you, Jerry.

    Homepage: http://fraxionsoftware.cjb.net
    ICQ: 40269591
    Mail: Contact Me

  2. #2
    Junior Member
    Join Date
    Apr 2000
    Posts
    22
    I know what to do, but not how to do it. You have to add MAPI Messaging Controls to your project and add them to the form. (If you have MSDN it will tell you all about them). This is the code of an (edited) MSDN sample project:

    MAPISession1.DownLoadMail = False
    MAPISession1.LogonUI = True
    MAPISession1.SignOn
    MAPISession1 LogOn = True
    MAPISession1.NewSession = True
    MAPIMessages1.SessionID = MAPISession1.SessionID MAPIMessages1.FetchUnreadOnly = True (or False if you want)
    MAPIMessages1.Fetch

    I don't quite know what happens now, but at least it's a start.

    You might send this to the internet forum. They'll know more about it.

    [Edited by Philosopher on 04-09-2000 at 09:48 AM]
    This sentence is a lie.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width