Results 1 to 2 of 2

Thread: Outlook 2007 Controls / Reading Emails

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Posts
    143

    Outlook 2007 Controls / Reading Emails

    I'm creating a windows application that I would like to use to automatically respond to emails based on their body's content (which I would process with my application to determine the necessary response). I know that there has to be a way to do this with the Office controls that I already have. Can someone point me in the right direction? All I want is something where I can check the properties (Sender, Body, Subject) of each inbox item in outlook... something like "outlookcontrol.item(0).body" that could display the body of the first email in the inbox. Can something like this be achieved through the Outlook COM Controls?

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Outlook 2007 Controls / Reading Emails

    There are no Outlook COM control or otherwise in Outlook. There are Interfaces, Classes and Collections etc.

    You have two choices, one use Outlook COM and automate Outlook and read emails etc. Two, use winsock and POP3 and read your emails directly from your service provider.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

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