How to create and send a mail with Outlook in a VB program?
thanks a lot!
Printable View
How to create and send a mail with Outlook in a VB program?
thanks a lot!
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