Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wp_mail multiple recipients

$multiple_recipients = array($adminmail,$adminmail2);
$subj = 'The email subject';
$body = 'This is the body of the email';
wp_mail( $multiple_recipients, $subj, $body );
 
PREVIOUS NEXT
Tagged: #multiple #recipients
ADD COMMENT
Topic
Name
5+5 =