hi,
i want to open a template email messagewith mergefields in it. i want to fill them with the data from my program.
The problem is i can open the template (msg) file but i don't see how i can fill up those mergefields. <<name>>
here is my code :
dim oOutlook As New Outlook.Application
Dim oMailitem As Outlook.MailItem
oMailitem = oOutlook.CreateItemFromTemplate(spath)
(so this here opens my message window)
oMailitem.Display()
but i can't input data. is this possible? i know it can be done in word but i can't mail from there...
any help would be most welcome!
tnx!
i want to open a template email messagewith mergefields in it. i want to fill them with the data from my program.
The problem is i can open the template (msg) file but i don't see how i can fill up those mergefields. <<name>>
here is my code :
dim oOutlook As New Outlook.Application
Dim oMailitem As Outlook.MailItem
oMailitem = oOutlook.CreateItemFromTemplate(spath)
(so this here opens my message window)
oMailitem.Display()
but i can't input data. is this possible? i know it can be done in word but i can't mail from there...
any help would be most welcome!
tnx!