SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Using Alias's in mail settings

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Using Alias's in mail settings
Author Message
Mark Richards



Joined: 05 Jun 2000
Posts: 31

Post Using Alias's in mail settings Reply with quote

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?



Mon Jun 05, 2000 11:17 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7838

Post Re: Using Alias's in mail settings Reply with quote

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?

Mon Jun 05, 2000 12:10 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.