I have been working on a project that needs to occasionally send off emails. If you need to do so, here's how with wp_mail(): add_filter('wp_mail_content_type',create_function('', 'return "text/html"; ')); wp_mail('firstname.lastname@example.org', 'Subject', 'Message'); Thanks to WordPress Cheat Sheets for the code!
Sending WordPress Emails During Local Development
If you've ever tried to build a WP site locally, you've likely experienced the problem of WordPress not sending out emails from your local development environment. Thanks to the WP Mail SMTP plugin you can now easily get around this by using your email providers SMTP information instead of your local server. WP Beginner published … Continue reading Sending WordPress Emails During Local Development