REM ****************************************;
REM SEND MAIL MESSAGE;
REM ****************************************;
&FLAGS = 0;
&BCC = "";
&TO = test@abc.com
&CC = "";
&SUBJECT = "Image Test";
&TEXT = "This is a sample mail message.";
&FILES = "/home/psoft/PT846/DVLP/appserv/prcs/DVLP/log_output/Sample.jpg";
REM &FILES = "";
&RETURN_CODE = SendMail(&FLAGS, &TO, &CC, &BCC, &SUBJECT, &TEXT, &FILES, &TITLES);
MessageBox(0, "Debug", 0, 0, "Return Code " | &RETURN_CODE);
REM SEND MAIL MESSAGE;
REM ****************************************;
&FLAGS = 0;
&BCC = "";
&TO = test@abc.com
&CC = "";
&SUBJECT = "Image Test";
&TEXT = "This is a sample mail message.";
&FILES = "/home/psoft/PT846/DVLP/appserv/prcs/DVLP/log_output/Sample.jpg";
REM &FILES = "";
&RETURN_CODE = SendMail(&FLAGS, &TO, &CC, &BCC, &SUBJECT, &TEXT, &FILES, &TITLES);
MessageBox(0, "Debug", 0, 0, "Return Code " | &RETURN_CODE);