Results 1 to 2 of 2

Thread: Retrieving specific emails (MAPI/CDO/WSK)

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Location
    Manchester
    Posts
    266

    Retrieving specific emails (MAPI/CDO/WSK)

    Hello,

    I have decided to go down the MAPI / CDO or Winsock route in my application. Sending emails is easy enough. However, I need to retrieve and display emails.

    The slight twist in the tail is that I don't want to download / access all emails, just those from a certain sender's email address. Most users will have Outlook installed on the computer but i'd rather not rely on this unless I have to.

    I'm not sure which technology to use and how to go about this as I don't want to download all messages and then iterate through them. I'd rather just request emails with specific properties.

    Is this at all possible?

    Jordan

  2. #2
    PowerPoster cicatrix's Avatar
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,654

    Re: Retrieving specific emails (MAPI/CDO/WSK)

    If you're using POP3 you can follow "Simple POP3 Protocol Realization" link in my signature for the example.

    You can use POP3 TOP command to analyze the header and then use RETR only if the sender if the one you need.

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