Hi All,
I need to send a report to group of people as an attachment via email. Is this possible to do via SAS ? I am not done this thing before so no code to share. Here is what I am looking at
1) Generating one report daily (this part is OK for now)
2) Sending this report to group of people as an email attachment. This where I need help.
Any suggestions are appreciated.
Use ODS to create a file with the report.
Then use FILENAME EMAIL with the ATTACH= option to send the mail with the attached file.
Thanks! I am trying to use corporate outlook office app and it seems it this solution doesn't work. Need to define email host etc. ?
You can set up a group email address in Outlook. When you email to the group address from SAS it will send it to all members of the group.
Setting up group email addresses is normally handled by an email administrator.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.