how do we mail reports from SAS environment to our team
leader
Answer Posted / santhosh
filename outbox email ;
data _null_;
file outbox
to=('xisguest@sas.com')
cc=
('santhosh.stats@gmail.com','lsantosh@sristek.com','kvasukii
n@gmail.com')
/* bcc=
('pavanj.sas@gmail.com','pavankumar@sristek.com')*/
Subject="Test Email"
Attach =("C:\Documents and
Settings\xisguest\Desktop\lenova.doc"
"C:\Documents and
Settings\xisguest\Desktop\new1.doc"
"C:\Documents and
Settings\xisguest\Desktop\new2.doc"
"C:\Documents and
Settings\xisguest\Desktop\new3.doc");
put 'Hi sristek/sas ,
this is santhosh from pune pfa for code for
sending mail';
run;
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Mention what are the data types does SAS contain?
how would you create multiple observations from a single observation? : Sas programming
What is the use of stop statement?
How to create a permanent sas data set?
what is the effect of the options statement errors=1? : Sas programming
If a variable contains letters or special characters, can it be numeric data type?
What is the function of output statement in a SAS Program?
How would you define the end of a macro? : sas-macro
what is program data vector? : Sas-administrator
What do the put and input function do?
What is run-group processing?
How to create list output for cross-tabulations in proc freq?
what is data governance? : Sas-di
Have you used macros? For what purpose you have used? : sas-macro
Describe a time when you were really stuck on a problem and how you solved it?