Sendmail function is not attaching Files in the email.
I am using sendmail function to send email with file attachments.However Peoplecode only send email but doesn't attach any files.I am working on Ptools 8.51 and Application version 8.8
same piece piece of code is working fine in Ptools 8.48
please find the below code which I am using.
Function Create_Email_Interface();
&MAIL_FLAGS = 0;
&MAIL_TO = "";
&MAIL_CC = "";
&MAIL_BCC = "";
&MAIL_SUBJECT = "GL_Metrics Dec_2012_latest";
&MAIL_TEXT = "Please see attachments for more details";
&MAIL_FILES = &MAIL_FILES1 | ";" | &MAIL_FILES2 ;
&MAIL_TITLES = "data1.csv;data2.csv;
&MAIL_SENDER = "reporting@xyz.com";
&RET = SendMail(&MAIL_FLAGS, &MAIL_TO, &MAIL_CC, &MAIL_BCC, &MAIL_SUBJECT, &MAIL_TEXT, &MAIL_FILES, &MAIL_TITLES, &MAIL_SENDER);