Answers for "wp_mail CC EMAIL"

PHP
0

wp_mail

$to = '[email protected]';
$subject = 'The subject';
$body = 'The email body content';
$headers = array('Content-Type: text/html; charset=UTF-8');
 
wp_mail( $to, $subject, $body, $headers );
Posted by: Guest on April-15-2021
0

cc in wp_mail

$headers = array(
    'From: [email protected]', 
    'CC: [email protected]', 
    'CC: [email protected]', 
    'BCC: [email protected]', 
    'BCC: [email protected]' 
);
Posted by: Guest on September-14-2021

Browse Popular Code Answers by Language