Hi all,
do you have a working sample to send emails with attachments using mapi ?
I made this sample but I receive the email without the attachment.
function DirectMessage()
local oMail
AFILES:={}
AADD(AFILES,"K:\FWH\SAMPLES\TESTMAIL.PRG")
DEFINE MAIL oMail ;
SUBJECT "FiveWin Mail-control power" ;
TEXT "This is real xBase power at your fingertips!" ;
TO "xxx@test.co.uk";
FILES AFILES
ACTIVATE MAIL oMail
MsgInfo( oMail:nRetCode )
return nil