in reply to Variable substitution
Consider $subject. The first time into the loop, it might read [name]! You can enlarge your whatever! Then you swap in a name, and send the first email.
So what is $subject going to be the second time through the loop?
There's nothing left to substitute.Aaron Anderson! You can enlarge your whatever!
It looks like you need to make copies of both $subject and $messages each trip through the loop, and expand macros in the copies.
|
|---|