General information
Category:
Windows API functions
>>I'd like to open an new outlook message fill in the To, Subject, and message body but not send it. How can I do this?
>>
>>TIA
>>
>>/Chris
>
>oOutlook = CREATEOBJECT("Outlook.Application")
>oNameSpace = oOutlook.GetNameSpace("MAPI")
>loMailItem = oOutlook.CreateItem(0)
>WITH loMailItem
>.Subject = "My Subject"
>.To = "John Doe"
>.Body = "My message text"
>.Display
>ENDWITH
>
>Bill
Yes! Thanks Bill!
/Chris
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only