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.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.