I have a similar setup which works. Customers can have single, multiple or no email addresses. Make sure they are separated by a comma in the database table field holding the addresses where multiple addresses are stored. After record updated event, I lookup the field and store the contents as follows $_SESSION["tmpUpdateEmail"] = DBLookup("select UpdateEmail from Companies where CompanyID=".$values['companyid']); after other bits of code defining email content etc. I use $ret=runner_mail(array('to' => $email, 'subject' => $subject, 'body' => $msg, "attachments" => $attachments)); Works fine for me.
S
shoppy author11/20/2018
Great, thanks. I also got the advice to use the comma but also a space between them like: me@dot.com , me2@dot.com.