Hi,
Pl. use below mentioned syntax.
/* Mailing Code to multiple mail id's and multiple attachement */
filename outbox email '
[email protected]';
data _null_;
file outbox
to=('
[email protected]' '
[email protected]')
cc=('
[email protected]' '
[email protected]')
subject='My SAS output'
attach=("D:\Distribution_A.zip" "D:\Distribution_B.zip")
;
put 'Hi,';
put;
/* put "Please ignore the previous mail as it was not updated and consider the enclosed file for the mentioned subject.";*/
/* put;*/
put "Please find enclosed ------.";
put "---------------------------.";
put ;
put "The file contains the following:";
put "1) A";
put "2) B";
put "3) C";
put "4) D";
put "5) E";
put /;
put "Regards,";
Put 'Akash';
run;