Is this in SAS Enterprise Guide? You can do this with two steps:
First, Export Data as a Step, saving the XLSX file in your local machine or remote SAS session
Then, select the XLSX file (which will be added to your project) and use Send Email as a Step, which will make this part of your process flow
Before you can Send Email as a step, you will need to configure the SMTP e-mail options in Tools->Options, Administration. You'll need your SMTP server name, port, and any other credentials. A little bit more about that in this article.
Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
Is this in SAS Enterprise Guide? You can do this with two steps:
First, Export Data as a Step, saving the XLSX file in your local machine or remote SAS session
Then, select the XLSX file (which will be added to your project) and use Send Email as a Step, which will make this part of your process flow
Before you can Send Email as a step, you will need to configure the SMTP e-mail options in Tools->Options, Administration. You'll need your SMTP server name, port, and any other credentials. A little bit more about that in this article.
Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
Alas, you cannot use your Outlook client with this step. Sending e-mail via Outlook uses the MAPI protocol (not SMTP), and automating this is usually not permitted for security reasons.