Sending HTML email containing custom fields to site users from WordPress
The Basics You can send an email from anywhere within WordPress using wp_mail(): wp_mail( $to, $subject, $message, $headers, $attachments ) $to can be a string or an array for multiple recipients. Any RFC 2822 compliant address will work, so you can include a real name as well as an email address. $subject & $message are … Read more