How do I send an e-mail from Altair SLC?
Nico Chart_21517
Altair Employee
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;
0