Subject: | Re: Upgrading to Win 10 and P11
| Date: | Thu, 17 Sep 2020 14:46:04 +0200
| From: | modridirkac <jure.zorko@gmail.com>
| Newsgroups: | pnews.paradox-programming
|
var m mail
endVar
m.addAddress("JDOE")
m.addAddress("SSMITH", MailAddrCC)
m.setSubject("Final sales numbers")
m.setMessage("The final sales numbers are attached")
m.addAttachment("c:\\temp\\msg.TXT")
if cmOLSendMail(m) then
MsgInfo("OK","")
else
MsgStop("not OK","")
endIf
You have to fill "mail" variable, then pass this variable to cmOLSendMail
method.
You can look at help for "mail" to see what you can do with it.
Jure
|