📜  wp_mail - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:26.242000             🧑  作者: Mango

代码示例2
$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 );