[buddypress-trac] [BuddyPress Trac] #8159: bp_send_email not sending emails to all if passing multiple email ids since 4.0.0 update

buddypress-trac noreply at wordpress.org
Fri Jul 3 04:07:56 UTC 2020


#8159: bp_send_email not sending emails to all if passing multiple email ids since
4.0.0 update
---------------------------------------------+-----------------------------
 Reporter:  alexhal                          |       Owner:  DJPaul
     Type:  defect (bug)                     |      Status:  assigned
 Priority:  high                             |   Milestone:  Awaiting
                                             |  Review
Component:  Emails                           |     Version:  2.5.0
 Severity:  major                            |  Resolution:
 Keywords:  reporter-feedback needs-testing  |
---------------------------------------------+-----------------------------

Comment (by imath):

 I see, I think you can achieve it doing something like this:

 {{{
 $emails = array( 'user1 at ma.il', 'user2 at ma.il' );
 $to = array_fill_keys( $emails, '' );
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8159#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list