0
私は問題なしでメールを送信できますが、ヘッダー引数に入力してもメールはCCになりません。私は以下のコードで何かを見逃していますか?Wordpressでwp_mail()を使用してCcにメールを送信する際に問題が発生しました
$to = '[email protected]';
$subject = 'This email came from the site!';
$headers = array(
'Content-type: text/html',
'Cc: [email protected]',
);
$body = $_POST['message'];
$response = wp_mail($to, $subject, $body, $headers);
[ここhttps://stackoverflow.com/questions/30098670/sending-emails-with-bcc-and-cc-with-wp-mail](https://stackoverflow.com/questionsをご覧ください。/30098670/send-with-bcc-and-cc-with-wp-mail) –