0
私は自分のwordpressサイトとその動作の機能を持っています。私のローカルサーバ(MAMPプロ)でbluehostサーバーのwp_mail送信者を設定することはできません
function wp_send_email_shipping_confirmation($args){
$content = send_email_shipped_confirmation($args);
$headers[] = 'MIME-Version: 1.0' . "\r\n";
$headers[] = 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers[] = "X-Mailer: PHP \r\n";
$headers[] = 'From: Wristband Creation Team <[email protected]' . $_SERVER[HTTP_HOST] . '>' . "\r\n";
$mail = wp_mail($args['email'], 'Your Wristbands Has Shipped Out', $content, $headers);
}
私はGmailの上でそれを受け取ることができますし、送信者は[email protected]、それが働いています。
しかし、ときに私は、電子メール機能はこの(myhostID)@[email protected]
の代わり[email protected]