When you share a Microsoft Excel file by using the E-mail as a step in the project option in SAS Enterprise Guide, the email is correctly sent to the recipient. However, the attached Microsoft Excel file might have a different name than the one that you choose.
This behavior might occur in the following scenario:
- Open SAS Enterprise Guide.
- Expand the Servers panel ► Server ► Files and select the directory in which the Excel file is located.
- Drag-and-drop an Excel file into the Process Flow or double-click it. The file is added to the Process Flow. In this example, the file is called CARS.xlsx.
- Right-click the file into Process Flow ► Share ► Email as a step in the project

After you execute the task, the recipient receives an email with an attached Excel file. The name of the attached file might be a very long name instead of CARS.xlsx as shown below:

To work around this behavior, do one of the following:
- Drag-and-drop the Excel file from your local machine to the Process Flow instead of dragging and dropping it from Servers panel ► Server ► Files within SAS Enterprise Guide.
- Alternately, you might add the Excel file to the Process Flow by using the option File ► Open within SAS Enterprise Guide instead of choosing it Servers ► Sever ► Files.