BookmarkSubscribeRSS Feed
RGUL
Calcite | Level 5


Is it possible to list multiple recipients for alert email from SAS Metadata server? We are told to list the recipient in the file Lev1/SASMeta/MetadataServer/omaconfig.xml.

The entry in omaconfig.xml is coded as

ALERTEMAIL="recipientEmailID@emailserver"

If multiple recipients are possible, what is the syntax to be used -

- would it be "emailID1@server1,"emailID2@server2"

or would it be "email1@serverID1, emailID2@server2"  ?

Thanks

1 REPLY 1
DBailey
Lapis Lazuli | Level 10

I'm not sure about omaconfig but other places that you can put multiple email address would expect them like this:

ALERTEMAIL=("REC1@EMAIL1" "REC2@EMAIL2" "REC3@EMAIL3");

with the individual email addresses quoted and delimited by a space surrounded by parentheses.

sorry...just looked it up:

To specify more than one address, enclose each address in single quotation marks, place a blank space between each address, and enclose the list in parentheses. For example: "('Bill@mycompany.com' 'Susan@mycompany.com')"

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1753 views
  • 0 likes
  • 2 in conversation