BookmarkSubscribeRSS Feed
pink_poodle
Barite | Level 11

In a sequel to my question about the SAS snowflakes card, where the program produces an animated image of falling snow:

 

How would one put that image into an email using SAS?

Does it have to be an attachment, or can it be included in the body of an email?

3 REPLIES 3
pink_poodle
Barite | Level 11

Can 'to: ' be a list of emails? 

 

and where is he doing that:

Note: When using SAS to email graphics output, you must first set the EMAILSYS system option to SMTP and the EMAILHOST system option to the name of the SMTP email server at your site.

 

Reference

 

Use SAS to send an email with a graph

Reeza
Super User

Yes it can be a list of emails, just ensure you use the proper delimiter for your software (ie comma or semicolon).

 

Those are 'system options' I believe in SAS. Check PROC OPTIONS for how to change them. Some options can be changed via code and some need to be changed in the config file.

 

Link to docs are here:

https://documentation.sas.com/?docsetId=lesysoptsref&docsetTarget=p1v9dr6zep9p9en1prhl6tdy3igx.htm&d...

 

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 921 views
  • 1 like
  • 2 in conversation