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. Visual Basic
  4. Getting SMTP email address using MAPI in VB

Getting SMTP email address using MAPI in VB

Scheduled Pinned Locked Moved Visual Basic
comquestion
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.
  • R Offline
    R Offline
    ReddyP
    wrote on last edited by
    #1

    Hi All, I am trying to get SMTP email address using MAPI functions in VB. So far, I am not successful in getting that. Here is what I am doing: 1. Use MAPILogon to get MAPI session handle, 2. Use BMAPIAddress to show address selection dialog box with session handle got in step 1 above. 3. Select 3/4 addresses in that dialog box and click "To:" to copy the names to "To:" edit control and click OK. 4. Use ResolveName to get properties of recipients selected in step 3. 5. I should have smtp email address in Address attribute of recipient. I am getting address internal to Outlook, but not smtp(xxx@yyy.com) in step 5. Can anyone please tell me, how I can get smtp address using above approach if possible? If not, are there any other techniques to get SMTP address using MAPI functions? Thanks in advance, Reddy

    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