@rd_list= ('a@b.com','b@b.com', 'c@c.com'); #Your example is then equivalent to: $sender->MailFile( { 'to', 'a@b.com', 'b@b.com', 'c@c.com' 'subject', 'Test', 'msg', "All, ...