1.7.2 - Sending to multiple email addresses not working

Hi. on 1.7.2 sending to multiple email addresses does not work. Trying to save the client information already returns an error - “The Email Address field must contain a valid email address.” Addresses are comma separated as per the previous version. Where do I look?

application/modules/mailer/views/invoice.php
application/modules/mailer/views/quote.php

The field to_email contains “multiple” and that is wrong.
I’ll try to resolve it in the develop branch for you so that it will be in version 1.7.3

I was checking my records and this issue was actually around when I upgraded to 1.6.3. in August 2025. At that time the bug was resolved, but I cannot locate the fix. I am hoping it might be similar.

I just think the issue resurfaced when dealing with several vulnerabilities.
It means it was gone and it came back and that … is regression (it’s one of the worst kinds of bugs)

As long as you make that tiny change you’ll be fine until version 1.7.3 gets released

Good catch on this resurfacing from 1.6.3 - when you send monthly invoices to 50+ B2B clients where AP, the controller, and the founder all need a copy, losing comma-separated recipients turns a 5-minute billing run into half a day of forwarding emails manually.

One extra watch-out after editing mailer/views/invoice.php and quote.php: double-check that recurring invoice cron jobs don’t hit a separate validator on save, because we’ve seen manual sends work while automated batches still fail silently.

Honest catch is manual patches like this are fragile across minor upgrades, so keeping a tiny diff script before pulling 1.7.3 saves a headache. Are you running recurring billing for multiple client books on this setup or one company?

No. No recurring billing set. For now my work around is to have only 1 email address in the database per customer. After clicking “Send Email” on the next page to load I paste in the list of email address and click “Send”. This way the mail gets sent to all the mail addresses.
Not ideal but it does shorten my workflow considerably.