- Code: Select all Expand view RUN
IF FILE( DEFPATH() + cFile )
DEFINE MAIL oMail SUBJECT cSubject ;
TEXT cBody ;
TO cName , cEmail ;
FILES DEFPATH() + cFile, cFilename ;
FROM USER
ACTIVATE MAIL oMail
ELSE
? DEFPATH() + cFile+" not found"
ENDIF
Can I use this command (or class) with arrays aFile instead of cFile and cFilename and aRecipients instead of cName and cEmail.
I need to send multiple emails and/or files to my procedure.