In any script declare global variable Dim global.email_list, string, "xyz@acme.com,abc@acme.com" Note that this script must be ran first before any reference to this glbal variable. Or setup new key in any .INI file (for example win.ini) or Registry then before emailing use INIFileGetKey "win.ini", "24x7 Email List", "Recipients", email_list Or simply sent your email (as a single recipient email) to some email distribution list setup on your email server. MailSend .... "System Operators" : It would be ideal to set some variables (constants) for all scripts that send : e-mail so i could make one change that would be used in all scripts. For : example, if i want to send mail to a certain person as System_admin, and : their e-mail address changes, i'd have to edit every one of the scripts; : an ugly process. : Is there a constant available for this (and other) purposes with strings?
|