G
Guest
My program;
What's the problem ?
I want to attach a file in outlook with a program, my program works but it's
only send tekst to Outlook. So I think I need another statement in place of
".body"
I need to send files *.msg or Outlook template files.
I looked everywhere, burt I can't find a solution.
So i will be very pleased if someone could help me.
#define mailitem 0
oOutLookObject = CreateObject("Outlook.Application")
oEmailItem = oOutLookObject.CreateItem(mailitem)
WITH oEmailItem
.Recipients.Add([[email protected]])
.Subject = [TEST]
.cc=[ ]
.Importance=1
.Body = [ ] ??????? && here i need to attach a file *.msg or *.dot
ENDWITH
release oEmailItem,oOutLookObject,pcTekst,pcOnderwerp
What's the problem ?
I want to attach a file in outlook with a program, my program works but it's
only send tekst to Outlook. So I think I need another statement in place of
".body"
I need to send files *.msg or Outlook template files.
I looked everywhere, burt I can't find a solution.
So i will be very pleased if someone could help me.