📅  最后修改于: 2022-03-11 14:54:34.325000             🧑  作者: Mango
$to = 'sendto@example.com';
$subject = 'The subject';
$body = 'The email body content';
$headers = array('Content-Type: text/html; charset=UTF-8');
wp_mail( $to, $subject, $body, $headers );