I have a front end posting form where registered users can draft post. I have a meta field which contains email of the user who draft the content. Now when i publish the content from backend i want to send a email to user notifying that the post is published.
Any kinds of direction to the research will help.
Thanks!
Here is free wordpress plugin for that
http://wordpress.org/extend/plugins/publish-post-email-notification/
PHP’s mail function should be a good starting point. Remember to make sure your php.ini is set up correctly to send mail.
Here’s a tutorial on how to send new post notification to your WordPress users using MailOptin plugin.
The plugin work by hooking into publish_post hook and then using the standard wp_mail function to deliver the email.
You also have the option to send only to users belonging to a user role. This can come in handy if you wish to deliver the email to segment of your membership users.
You can get the MailOptin plugin for free in WordPress dashboard at https://wordpress.org/plugins/mailoptin/