Decorator with an associative array?
Posted: Mon May 04, 2009 3:13 pm
Hello everyone,
I am using SWIFT mailer, and need to use the decorator plugin, so I can add someone's full name and email address to the body of the email.
I've already created an associative array, for the batchsend, which looks like this
How can I turn this associative array into a 2 dimensional array, for use with the decorator? Or can I just feed this array directly to the decorator?
I am using SWIFT mailer, and need to use the decorator plugin, so I can add someone's full name and email address to the body of the email.
I've already created an associative array, for the batchsend, which looks like this
Code: Select all
[joe@email.com] => 'Joe Smith'
[bob@myisp.net] => 'Bob Green'