Results 1 to 4 of 4

Thread: Outlook and VB.Net: Getting the sender address of an item

  1. #1

    Thread Starter
    Hyperactive Member stingrae's Avatar
    Join Date
    Apr 2002
    Location
    Sydney
    Posts
    401

    Outlook and VB.Net: Getting the sender address of an item

    Hi,

    I have developed a couple of really schmick wiz-bang style of apps using VB.Net and VB. My last one now takes names and addresses out of AccessDB and places them into HTML emails then sends.

    The only problem I have though, is getting the email address of an email that has come in. I know how to roll through a folder reading the emails, but there is no method available for getting the actual address.

    In fact, this problem has been documented on the following microsoft site:
    http://msdn.microsoft.com/library/de..._C11612730.asp

    If you scroll down until you get to the heading "Getting the sender address of an item" you will see what I mean.

    They also post a solution there but this uses VBA.

    I am having real difficulty translating this into VB.Net. Does anybody know where a .Net version of this code can be found or is anyone able to translate?

    Any help would be most appreciated.
    "The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.

    Windows & Web Developer
    Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
    Sutherland Shire, Sydney Australia
    www.stingrae.com.au
    Developer of Arnold - Gym & Martial Arts Database Management System
    www.gymdatabase.com.au

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: Outlook and VB.Net: Getting the sender address of an item

    try this example

  3. #3

    Thread Starter
    Hyperactive Member stingrae's Avatar
    Join Date
    Apr 2002
    Location
    Sydney
    Posts
    401
    Pirate,

    thanks for your reply. from what i can see, that example only demonstrates how to send an email which i already know how to do. i can't see anywhere that it gets the sender's address.
    "The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.

    Windows & Web Developer
    Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
    Sutherland Shire, Sydney Australia
    www.stingrae.com.au
    Developer of Arnold - Gym & Martial Arts Database Management System
    www.gymdatabase.com.au

  4. #4

    Thread Starter
    Hyperactive Member stingrae's Avatar
    Join Date
    Apr 2002
    Location
    Sydney
    Posts
    401
    anyone?

    "The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.

    Windows & Web Developer
    Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
    Sutherland Shire, Sydney Australia
    www.stingrae.com.au
    Developer of Arnold - Gym & Martial Arts Database Management System
    www.gymdatabase.com.au

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