BookmarkSubscribeRSS Feed
danweifis
Calcite | Level 5

Hi, I have created an outlook group (4 emails accounts). I want to send thorugh SAS automatic emails to this group.

 

I have read it distribution list and a few more topics and I can't find a solution.

 

filename myemail email

GROUP@outllook.com

subject='no email'

data _null_;

file myemail;

put 'no email got';

run;

 

Thanks

 

Daniel

1 REPLY 1
utrocketeng
Quartz | Level 8

it should work.  make sure you wrap the email address in quotes:

filename mailbox email
		TO=('usergroup@yourdomain.com')
		FROM=('NoReply <NOREPLY@yourdomain.com>')
		SENDER = ('NoReply <NOREPLY@yourdomain.com>')
		IMPORTANCE='HIGH'
		replyto='NOREPLY@yourdomain.com'
         Subject='Greetings, this is an email';
  
DATA _NULL_;
FILE Mailbox;
PUT "Greetings Someone,";
PUT "  This is a message from a SAS.";


RUN;

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
  • 1 reply
  • 833 views
  • 1 like
  • 2 in conversation