Results 1 to 2 of 2

Thread: Mail with Outlookk

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    7

    Question


    How to create and send a mail with Outlook in a VB program?

    thanks a lot!

  2. #2
    Fanatic Member RealisticGraphics's Avatar
    Join Date
    Jul 1999
    Location
    Arkansas
    Posts
    655

    Wink

    You could add scripting ability to your program and use the following VBS code:

    Code:
    Set out = Createobject("outlook.application")
    Set myItem = out.CreateItem(0)
    
    myitem.body = "Some Text For the body or pull it from a var"
    myitem.subject = "Subject Here"
    myitem.recipients.add "[email protected]"
    myitem.send

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