Simplicty and flexibility!


SendEmail


Started by BLESSED SHUMBA
Search
You will need to Sign In to be able to add or comment on the forum!

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


Written by BLESSED SHUMBA 18/09/15 at 13:05:08 Dataease [{8}]FIVE

Re:SendEmail

Try running the batch file in a command window.  That way you should see messages returned by sendemail.exe.

Regards

Jon


Written by Jon Worthington 18/09/15 at 14:56:05 Dataease [{8}]FIVE
DG3_ForumList