
SendEmail
Trying to send mail from DataEase using SendEmail here is my script. It creates the batch file but no email received. What haven't I done correctly?
define "retval" text .
retval := WriteToFile (concat("sendemail ", "-f acctech3000@gmail.com -u Dont Giveup -o message-content-type = html -o message-file=.\ Mail\000006.htm -a.\Mail\ats.pdf" ), "C:\bs\G.BAT", 1) .
retval := WriteToFile (concat("-o tls=yes", " -t acctech3000@gmail.com", " -u I love DataEase", " -m This will work", " -ux acctech3000@gmail.com -xp -xp PASSWORD -s server=25" ), "C:\bs\G.BAT", 0) .
retval := ExecuteFile ("c:\bs\g.bat") .
Regards