>Hi all,
>Anyone know of a document describing the DDE commands to communicate with outlook, or does anyone know of any other way to communicate with outlook?
>I have to be able to send email from my app using outlook...
>thanks a lot,
>Sebastiaan.
I use in my app this procedure to send e-mail via Outlook.
oApp=CreateObject("Outlook.Application")
NameSpace= oApp.GetNameSpace("MAPI")
MailItem = oApp.CreateItem(0)
MailItem.Recipients.Add "
is@didaktik.sk" &&sample adress
MailItem.Subject = "my autoexec.bat" &&sample subject
MailItem.Attachments.Add "c:\autoexec.bat" &&sample file
MailItem.Send
NameSpace.Logoff
You can repeat line four to add more recipients, or repeat line six
to add more attached files.
Maros Klempa