Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Addressbook from Outlook 2003

Addressbook from Outlook 2003

Scheduled Pinned Locked Moved C#
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    daniel99
    wrote on last edited by
    #1

    I want to get the email form my Outlook addressbook. Now, I can only get the name. I have no idea, how I can get email.

    Outlook.AddressList addressList;
    for (int i = 3; i <= addressLists.Count; i++ )
    {
    addressList = addressLists[i];
    Console.WriteLine("Name: {0}", addressList.Name);

                Outlook.AddressEntries addressEntries = addressList.AddressEntries;
    
                foreach (Outlook.AddressEntry addressEntry in addressList.AddressEntries)
                {
                    
                    Console.WriteLine("{0}", addressEntry.Name);
                    Console.WriteLine("{0}", addressEntry.Address);
                    addressEntry
                }
            }
    
    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups