Results 1 to 2 of 2

Thread: HowTo Get mail session user's SMTP address

  1. #1
    Guest
    Hello,
    does anybody know how can I get in VB6 SMTP mail address of current MAPI session user? I have Exchange server.

    (I´m creating a e-mail to SMS sender program and I need to determine the length of user's SMTP address)

    Thanks a lot

  2. #2
    New Member
    Join Date
    Jun 2002
    Location
    Cape Cod
    Posts
    1

    Post Session Email of User

    To get the currently logged on user's Exchange address, you simply use the session object's CurrentUser property.

    For example:

    Dim objSession as MAPI.Session

    Set objSession = New MAPI.Sesssion

    objSession.CurrentUserName

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