Results 1 to 2 of 2

Thread: using MAPI CONTROL

  1. #1

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Lightbulb

    hI

    hOW DO I do to use the MAPI control, What I that put in my form ?

    thank you

  2. #2
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    in the componets list you will see the Microsoft Mapi Controls... (i think outlook has to be installed)



    With MAPISession1
    .LogonUI = True
    .UserName = "guest"
    .Password = "password"
    .SignOn
    End With
    With MAPIMessages1
    .SessionID = MAPISession1.SessionID
    .Compose
    .RecipDisplayName = "[email protected]"

    .RecipAddress = "[email protected]"

    .MsgSubject = "Test"
    .MsgNoteText = "Did it work?"
    .AttachmentPathName = "c:\autoexec.bat"
    .AttachmentIndex = .AttachmentIndex + 1
    .AttachmentPathName = "c:\config.sys"

    .AddressResolveUI = True
    .ResolveName
    .Send False
    End With
    MAPISession1.SignOff
    Kurt Simons
    [I know I'm a hack but my clients don't!]

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