get senders email address

Discussion in 'Microsoft Outlook VBA Programming' started by Macdonald, Apr 22, 2005.

  1. Macdonald

    Macdonald Guest

    I want to be able to check the address of the person Im sending to. I have a
    few address's that I want to add a line to every time. All others I do not.
    I know how to add the line. And presumably I would run it from
    thisoutlooksession.

    The question is how do I get the email address of the current email Im
    sending to test it and add or not the line.

    Thank
    Mac
     
    Macdonald, Apr 22, 2005
    #1
    1. Advertisements

  2. What API and programming language are you using?

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/
    OutlookSpy - Outlook, CDO
    and MAPI Developer Tool

    "Macdonald" <> wrote in message
    news:...
    >I want to be able to check the address of the person Im sending to. I have
    >a
    > few address's that I want to add a line to every time. All others I do
    > not.
    > I know how to add the line. And presumably I would run it from
    > thisoutlooksession.
    >
    > The question is how do I get the email address of the current email Im
    > sending to test it and add or not the line.
    >
    > Thank
    > Mac
    >
    >
     
    Dmitry Streblechenko, Apr 22, 2005
    #2
    1. Advertisements

  3. See http://www.outlookcode.com/d/code/getsenderaddy.htm

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/
    OutlookSpy - Outlook, CDO
    and MAPI Developer Tool

    "Macdonald" <> wrote in message
    news:u8%...
    > Simply VB in the VB Editor that comes with Outlook 2000.
    > Thanks
    >
    > "Dmitry Streblechenko" <> wrote in message
    > news:...
    >> What API and programming language are you using?
    >>
    >> Dmitry Streblechenko (MVP)
    >> http://www.dimastr.com/
    >> OutlookSpy - Outlook, CDO
    >> and MAPI Developer Tool
    >>
    >> "Macdonald" <> wrote in message
    >> news:...
    >> >I want to be able to check the address of the person Im sending to. I

    > have
    >> >a
    >> > few address's that I want to add a line to every time. All others I do
    >> > not.
    >> > I know how to add the line. And presumably I would run it from
    >> > thisoutlooksession.
    >> >
    >> > The question is how do I get the email address of the current email Im
    >> > sending to test it and add or not the line.
    >> >
    >> > Thank
    >> > Mac
    >> >
    >> >

    >>
    >>

    >
    >
     
    Dmitry Streblechenko, Apr 22, 2005
    #3
  4. Macdonald

    Macdonald Guest

    Simply VB in the VB Editor that comes with Outlook 2000.
    Thanks

    "Dmitry Streblechenko" <> wrote in message
    news:...
    > What API and programming language are you using?
    >
    > Dmitry Streblechenko (MVP)
    > http://www.dimastr.com/
    > OutlookSpy - Outlook, CDO
    > and MAPI Developer Tool
    >
    > "Macdonald" <> wrote in message
    > news:...
    > >I want to be able to check the address of the person Im sending to. I

    have
    > >a
    > > few address's that I want to add a line to every time. All others I do
    > > not.
    > > I know how to add the line. And presumably I would run it from
    > > thisoutlooksession.
    > >
    > > The question is how do I get the email address of the current email Im
    > > sending to test it and add or not the line.
    > >
    > > Thank
    > > Mac
    > >
    > >

    >
    >
     
    Macdonald, Apr 22, 2005
    #4
  5. Macdonald

    Macdonald Guest

    Great thanks.

    "Dmitry Streblechenko" <> wrote in message
    news:u$...
    > See http://www.outlookcode.com/d/code/getsenderaddy.htm
    >
    > Dmitry Streblechenko (MVP)
    > http://www.dimastr.com/
    > OutlookSpy - Outlook, CDO
    > and MAPI Developer Tool
    >
    > "Macdonald" <> wrote in message
    > news:u8%...
    > > Simply VB in the VB Editor that comes with Outlook 2000.
    > > Thanks
    > >
    > > "Dmitry Streblechenko" <> wrote in message
    > > news:...
    > >> What API and programming language are you using?
    > >>
    > >> Dmitry Streblechenko (MVP)
    > >> http://www.dimastr.com/
    > >> OutlookSpy - Outlook, CDO
    > >> and MAPI Developer Tool
    > >>
    > >> "Macdonald" <> wrote in message
    > >> news:...
    > >> >I want to be able to check the address of the person Im sending to. I

    > > have
    > >> >a
    > >> > few address's that I want to add a line to every time. All others I

    do
    > >> > not.
    > >> > I know how to add the line. And presumably I would run it from
    > >> > thisoutlooksession.
    > >> >
    > >> > The question is how do I get the email address of the current email

    Im
    > >> > sending to test it and add or not the line.
    > >> >
    > >> > Thank
    > >> > Mac
    > >> >
    > >> >
    > >>
    > >>

    > >
    > >

    >
    >
     
    Macdonald, Apr 22, 2005
    #5
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sue Mosher [MVP]

    Re: getting senders email address

    Sue Mosher [MVP], Jul 11, 2003, in forum: Microsoft Outlook VBA Programming
    Replies:
    3
    Views:
    1,422
    Sue Mosher [MVP]
    Jul 11, 2003
  2. Sanjay Singh

    How to get Exchange Senders SMTP address when in OFFLINE mode

    Sanjay Singh, Oct 28, 2003, in forum: Microsoft Outlook VBA Programming
    Replies:
    0
    Views:
    354
    Sanjay Singh
    Oct 28, 2003
  3. Bruce

    How do I find the senders email address?

    Bruce, Jan 15, 2004, in forum: Microsoft Outlook VBA Programming
    Replies:
    2
    Views:
    285
    Darko Bazulj
    Jan 19, 2004
  4. Guest

    New Junk e-amil option:Add Senders Domain to Blocked Senders List

    Guest, Jun 17, 2005, in forum: Microsoft Outlook VBA Programming
    Replies:
    0
    Views:
    496
    Guest
    Jun 17, 2005
  5. LDMueller

    Forward Email to include Senders email address in the body

    LDMueller, May 20, 2010, in forum: Microsoft Outlook VBA Programming
    Replies:
    0
    Views:
    673
    LDMueller
    May 20, 2010
Loading...

Share This Page