Page 1 of 1

DEFINE MAIL PROBLEM

Posted: Fri Jan 05, 2007 7:53 pm
by Ollie
Can anyone explain why I get a 'parse error at MAIL' on the third message?

Code: Select all

PROCEDURE   SENDEMAIL()
   LOCAL oMail

   // This works just fine:
   DEFINE MAIL oMAIL SUBJECT "Message 1 - Sends Fine "+TIME() ;
   TEXT "This is the message "+SDATE(DATE())+' '+TIME() ;
   TO "bill@microsoft.com"

 ACTIVATE MAIL oMail

   DEFINE MAIL oMAIL SUBJECT "Message 2 - Sends Fine "+TIME() ;
   TEXT "This is the message "+SDATE(DATE())+' '+TIME() ;
   TO "bill@microsoft.com" ;
   FROM USER

 ACTIVATE MAIL oMail

   DEFINE MAIL oMAIL SUBJECT "Message 3 - parse error at MAIL"+TIME() ;
   TEXT "This is the message "+SDATE(DATE())+' '+TIME() ;
   TO "bill@microsoft.com" ;
   FILES {"c:\winzip.log","c:\winzip.log"} ;
      FROM USER

 ACTIVATE MAIL oMail

Re: DEFINE MAIL PROBLEM

Posted: Fri Jan 05, 2007 11:19 pm
by Enrico Maria Giordano

Code: Select all

FILES "c:\winzip.log", "Winzip1.log", "c:\winzip.log", "Winzip2.log" ;
EMG

Posted: Sat Jan 06, 2007 7:18 am
by Ollie
Ah ha - Thanks.