Created
December 11, 2013 23:25
-
-
Save elzii/7920412 to your computer and use it in GitHub Desktop.
// email components $data_cf_email = '__EMAILADDRESS__'; $headers = 'From: Imagination Foundation <[email protected]>' . "\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=utf-8\r\n"; $subject = 'Your event __EVENT NAME__ has been created!'; $message = ''This is the email content'; // mail it out wp_m…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// email components | |
$data_cf_email = '__EMAILADDRESS__'; | |
$headers = 'From: Imagination Foundation <[email protected]>' . "\r\n"; | |
$headers .= "MIME-Version: 1.0\r\n"; | |
$headers .= "Content-Type: text/html; charset=utf-8\r\n"; | |
$subject = 'Your event __EVENT NAME__ has been created!'; | |
$message = ''This is the email content'; | |
// mail it out | |
wp_mail($data_cf_email, $subject, $message, $headers); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment