Results 1 to 2 of 2

Thread: problem sending emails

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    montreal
    Posts
    13

    Exclamation

    i wrote this code in my vb sub
    like
    but it's not working why
    SUB SEND_EMAIL()
    MAPISession1.SignOn
    ' Send Mail
    MAPIMessages1.SessionID = MAPISession1.SessionID
    MAPIMessages1.Compose
    MAPIMessages1.RecipAddress = "[email protected]"
    MAPIMessages1.RecipDisplayName = "<DISPLAY RECIPIENT AME>"
    MAPIMessages1.MsgSubject = "<THESUBJECT>"
    MAPIMessages1.MsgNoteText = "<THE TEXT>"
    MAPIMessages1.Send
    MAPISession1.SignOf
    END SUB
    I WOULD LIKE TO KNOW WHY
    PROBABLY MAPI PROBLEMS BUT HOW TO RESOLVE IT

  2. #2
    New Member
    Join Date
    Oct 2000
    Location
    Comfy chair in front of the computer
    Posts
    2
    Did you remember to add a MAPI signature and Session object to the form.
    Right click on the toolbox and select components > Microsoft MAPI Control
    Good luck

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