This works for me in the Command Window:
loOutlook = CreateObject("Outlook.Application")
loMessage = loOutlook.CreateItem(0)
loMessage.To = "some...@test.com"
loMessage.Subject = "Message subject"
loMessage.Body = "message body"
loMessage.Attachments.Add("myfile.pdf")
loMessage.Display(.t.)
It
We did this sort of thing with no problems:
o=Createobject("outlook.application")
oitem=o.createitem(0)
oitem.subject=csubject
oitem.to etc..
oitem.Display
Regards
Mark
-Original Message-
From: ProfoxTech On Behalf Of
wes.wil...@yahoo.com
Sent: Wednesday, October 16, 2019 12:58 PM
We are creating invoices in PDF form and then emailing them via Outlook
With OutMail .To = lcEmail .Subject = lcSubject .HTMLBody = Message
.Attachments.Add(xinvoice)
.Display .Send
Endwith
Our client wants to be able to add to the body of the email but Outlook will
not stay up. Just flashes
Thanks Johan. Looking forward to the public release.
--
Alan Bourke
alanpbourke (at) fastmail (dot) fm
___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list:
Hi all ProFoxers
Just a quick note to inform you about the above release. The public
release will be available later this week.
Without replicating what is said on the website, here are the most
important features of this release:
1. More added support for VFP specifics.
2. DEFINE CLASS
5 matches
Mail list logo