I wrote a text file in which I put all the mail addresses in different lines. I used "text loop", and "store current line to variable" {MAILLIST}.
I send the e-mail TO: {MAILLIST} with CC: my e-mail address (to control the process).
I: 06/12/15 18:56:46: Executing "1.Create local variable "MAILLIST" with value """
I: 06/12/15 18:56:46: Executing "2.Text Loop"
W: 06/12/15 18:56:46: Illegal name of variable ()
I: 06/12/15 18:56:46: Executing "3.Send Email"
I: 06/12/15 18:56:47: Executing "4.End Loop"
Code: Select all
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|0
Comment=STRINGLIST
ContinueOnError=INTEGER|0
ExternalName=STRING|"Task38"
Hide=INTEGER|0
ID=INTEGER|1023130397
LocalVariables=STRING|"MAILLIST="
LogOnAsUser=INTEGER|1
Name=STRING|"Loop mail"
OnErrorTaskID=INTEGER|-1
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action2=FOLDER
Action3=FOLDER
Action4=FOLDER
[Actions\Action1]
ActionID=STRING|"A_VARIABLES_CREATE"
Enabled=INTEGER|-1
Name=STRING|"Create local variable ""MAILLIST"" with value """""
Params=FOLDER
[Actions\Action1\Params]
expand=STRING|"1"
varkind=STRING|"1"
varname=STRING|"MAILLIST"
[Actions\Action2]
ActionID=STRING|"A_LOOP_TEXT"
Enabled=INTEGER|-1
Name=STRING|"Text Loop"
Params=FOLDER