🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How do I send an e-mail from Altair SLC?

User: "Nico Chart_21517"
Altair Employee
Updated by Nico Chart_21517

It is possible to send email notifications from Altair SLC using the filename email syntax.

Typically this would be done by defining the email system options, for example:

-EMAILSYS SMTP -EMAILHOST <your_SMTP_server> 

You could add these to a local altairslc.cfg file (for more information search for configuration files in the help). Once setup you should be able to send emails with an attachment if needed, using something of the form:

%LET txtfile = "<PATH_TO_ATTACHMENT>"; FILENAME tosend EMAIL                 TO = ("your.recipient@somedomain.com")                 REPLYTO = ("your.reply@somedomain.com")                 FROM = ("your.name@somedomain.com")                 SUBJECT = "Test E-mail from Altair SLC"                 ATTACH = (&txtfile); 				 DATA _NULL_;   FILE tosend;   PUT "Hello,";   PUT "Please ignore this email from Altair SLC";
PUT "Regards,";  
PUT "Altair SLC Test"; RUN;

Find more posts tagged with

Comments

No comments on this post.