Answers for "wordpress wp_mail sent from"

PHP
0

wp_mail

$to = '[email protected]';
$subject = 'The subject';
$body = 'The email body content';
$headers = array('Content-Type: text/html; charset=UTF-8');
 
wp_mail( $to, $subject, $body, $headers );
Posted by: Guest on April-15-2021
0

reply to wp_mail

$args['headers'] = "Reply-To: $site_name <$admin_email>";
Posted by: Guest on September-05-2020

Browse Popular Code Answers by Language