How to send post notification when a Author and Contributor post?

Try this. I’ve tested it and it works although your questions is not so clear (snippet VS description). function wpkse_144405_on_post_publish( $ID, $post ) { $users = get_users( array( ‘fields’ => array( ‘user_email’ ) ) ); $email_subject=”New post has been published”; $message .= ‘New post has been published: ‘ . $post->post_title . ‘ You can preview … Read more

Email user on WordPress upgrade

I forked the above plugin you mentioned as WP Updates Notifier Maybe you want to look at that instead? If you want to include it in your theme all you do is copy the plugin file and place in your theme functions file instead. If you need further help modifying this plugin leave a comment … Read more

PAGE Specific Email Notifications

How I would approach this issue is I would first find a comment notification plugin that works well and has been recently updated. This one seems to fit the bill just fine: http://wordpress.org/extend/plugins/subscribe-to-comments/installation/ Then I would come up with some way of marking the pages that I want comment notifications on. You could do this … Read more

How to set up a simple email subscription?

In terms of what’s easiest to manage, there are several third-party email services which provide plugins for WordPress or code you can insert directly into your Construction page. I personally prefer Mailchimp, but Constant Contact is another alternative.

Mail function is not working

You are passing $email where there should be attachments. Look at wp_mail arguments. Also you have not defined $to variable which in your case i assume should be $email. Try this, $name = $_POST[‘cuf_sender’.$n]; $email = $_POST[‘cuf_email’.$n]; $subject= $this->o[‘subpre’].’ ‘.$_POST[‘cuf_subject’.$n]; $msg = $_POST[‘cuf_msg’.$n]; $extra=””; foreach ($_POST as $k => $f ) if ( strpos( $k, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)