Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $headers = array(
- 'From: My Name <test12df432abc@gmail.com>'
- );
- $headers = implode( PHP_EOL, $headers );
- wp_mail( $to, $subjects, $message, $headers );
- $headers = array(
- 'Bcc: secretuser123@aol.com',
- 'From: My Name <test12df432abc@gmail.com>',
- 'Reply-To: webmaster@hotmail.com'
- );
- $headers = implode( PHP_EOL, $headers );
- wp_mail( $to, $subjects, $message, $headers );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement