PHPでメールを送信する方法です
<?php $to = 'example@example.com, example@example.com'; $subject = 'TEST'; $message = 'TEST'; $headers = 'From: example@example.com' . "\r\n" . 'Cc: example@example.com' . "\r\n"; if (mail($to, $subject, $message, $headers)) { echo "OK"; } else { echo "NG"; } ?>