Topic: sending to multiple addresses (Read 897 times)
Just another rainy day
Posts: 1
10 credits Members referred : 0
« on: Apr 12, 2007, 03:53:00 AM »
The attach_mailer_class seems to work fine when sending an email to a single address, but it fails the check_mail_address function when there are multiple addresses. With a previous version, it was working OK, but I see that all the calls to check_mail_address function from attach_mailer are commented out. I don't recall, but I guess I did that to get it to work. When I skipped the validation, I could pass it a string of addresses separated by commas and it would work fine. Are you supporting multiple addresses? If so, how do I get the address validation to work, or should I just continue to bypass that? Thanks.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6343
38878 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Apr 12, 2007, 09:00:28 AM »
hello,
I commented the validation in other applications I build to make it possible to add a string with multiple email addresses.
It better to send the mails in a loop for all email addresses.