BookmarkSubscribeRSS Feed
qd96xuweifeng1
Calcite | Level 5

Hello,

 

I have one question about sending email by SAS with sensitivity option, and could anyone please advise on it?

Here, I try to use SAS send out email with option (SENSITIVITY='Confidential'). Everything goes smooth without any error and warning message. However, the sensitivity of the email still remains as default "Internal" without changing to "Confidential". 

So, could anyone please advise how to use this option correctly?

Any advice will be appreciated!

Thanks,

Weifeng

7 REPLIES 7
Quentin
Super User

Please show the code you are using.

 

What version of SAS are you using?

 

See this note, apparently there was  bug in 9.4M3 that was fixed in M4:

https://support.sas.com/kb/56/611.html

BASUG is hosting free webinars Next up: Mark Keintz presenting History Carried Forward, Future Carried Back: Mixing Time Series of Differing Frequencies on May 8. Register now at the Boston Area SAS Users Group event page: https://www.basug.org/events.
qd96xuweifeng1
Calcite | Level 5

Hi Quentin,

 

Thanks a lot for your response! I am using SAS EG 7.15 (7.100.5.5850) (32-bit). The code is below:

filename outbox email "do.not.reply@test.com" ;

data _null_;
file outbox
to=(&to.)
from=("&from.")
sender=("&from.")
subject="&subject."
attach=("&attach1." content_type="application/txt")
type='text/html'
SENSITIVITY='Confidential'
;
set &body.;
put Body;
run;
filename outbox clear;

Thanks,

Weifeng

SASKiwi
PROC Star

That's your EG version, not your SAS version. Run this to get your SAS version:

proc product_status;
run;

 

qd96xuweifeng1
Calcite | Level 5

Hi SASKiwi,

 

Please find my SAS version information as below:

 

For Base SAS Software ...
Custom version information: 9.4_M4
Image version information: 9.04.01M4P110916
For SAS/STAT ...
Custom version information: 14.2
For SAS/GRAPH ...
Custom version information: 9.4_M4
For SAS/ETS ...
Custom version information: 14.2
For SAS/OR ...
Custom version information: 14.2
For SAS/IML ...
Custom version information: 14.2
For SAS/CONNECT ...
Custom version information: 9.4_M4
For SAS/ACCESS Interface to Netezza ...
Custom version information: 9.41
For SAS OLAP Server ...
Custom version information: 9.4
For SAS/ACCESS Interface to SAP IQ ...
Custom version information: 9.4_M3
For SAS/ACCESS to Hadoop ...
Custom version information: 9.44
For SAS Enterprise Miner ...
Custom version information: 14.2
For SAS Integration Technologies ...
Custom version information: 9.4_M4
For SAS/Secure 168-bit ...
Custom version information: 9.41_M1
2 The SAS System 11:55 Tuesday, March 7, 2023

For SAS Credit Scoring ...
Custom version information: 14.2
For High Performance Suite ...
Custom version information: 2.2_M5
For SAS/ACCESS Interface to DB2 ...
Custom version information: 9.4_M2
For SAS/ACCESS Interface to PC Files ...
Custom version information: 9.4_M4
For SAS/ACCESS Interface to ODBC ...
Custom version information: 9.4_M4

Quentin
Super User

Do you get an error in your log?  I think all the from/to information should be on your filename statement, not the file statement.  Something like (untested):

 

filename outbox email 
to=(&to.)
from=("&from.")
sender=("&from.")
subject="&subject."
attach=("&attach1." content_type="application/txt")
type='text/html'
SENSITIVITY='Confidential'
;

data _null_;
file outbox;
set &body.;
put Body;
run;
filename outbox clear;

If you remove the Sensitivity option, is the code working to generate the email?

BASUG is hosting free webinars Next up: Mark Keintz presenting History Carried Forward, Future Carried Back: Mixing Time Series of Differing Frequencies on May 8. Register now at the Boston Area SAS Users Group event page: https://www.basug.org/events.
qd96xuweifeng1
Calcite | Level 5

Hi Quentin,

 

Actually, I can always get email without any error and warning, no matter including sensitivity option or not. But the problem is that the sensitivity is default value as "Internal", rather than "Confidential".

 

Thanks,

Weifeng

SASKiwi
PROC Star

I'd suggest opening a track with SAS Tech Support on this. Assuming you are using your own user account for sending email, can you change an email's sensitivity manually within your email client?

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 7 replies
  • 579 views
  • 1 like
  • 3 in conversation