BookmarkSubscribeRSS Feed
sagulolo
Quartz | Level 8

Hi SAS communities,

 

I actually new to SAS code for trigger email, i just wanted to send email to my user report available to retrieve from share folder after my EG job completed, attached my code and screenshot:- 

 

filename mymail 

email 'myemail@yahoo.com.my'  
subject='report xxxx';


data _null_;
   file mymail;
   
   put 'Dear all,';
   put ;
   put 'All reports available in shared folder.';

   put '<html><body><table>';
   PUT '<tr><td>Shared Folder</td><td>Report Name</td>';
   PUT '<tr><td> test </td><td> test2 </td>';
   PUT '</table></body></html>';

   put ;
   put 'Thanks & Regards,';

run;

Results:

screenshot2.png

 

Expected:

**link A actually is hyperlink to the share folder

screenshot.png

 

Please advice and guide me how to get the expected table, thanks you in advance.

 

 

2 REPLIES 2
sagulolo
Quartz | Level 8

Hi ChrisNZ,

 

My apologies for late reply and thank for your guidance.

Let me go through the article and test it first before i come back to you.

 

Thank you so much for your time.

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1535 views
  • 0 likes
  • 2 in conversation