How to Email Authors When Their Articles are Published in WordPress

[agentsw ua=’pc’]

If you run a multi-author blog, then notifying the authors when their blog post is published can help them promote the post and participate in the discussion. Recently, one of our readers asked if it was possible to email authors when their articles are published. In this article, we will show you how to email authors when their posts are published in WordPress.

emailauthornewposts

Method 1: Send Post Notifications to Authors using Edit Flow

First thing you need to do is install and activate the Edit Flow plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Edit Flow works out of the box for email notifications. As soon as you activate the plugin, it will start sending email notifications to authors when their posts are published.

However, it does not send those email notifications to site administrator. You can go to Edit Flow » Notifications page and select enable for ‘Always notify blog admin’ option.

Edit Flow notifications

Edit Flow is a powerful plugin, and it can do a lot more than just sending email notifications. For a full overview of what you can do with it, see our guide on how to improve your editorial workflow in WordPress with Edit Flow.

Method 2: Email Authors using Better Notifications for WordPress

This method is for users who just want to send email notifications to authors without any other editorial features of Edit Flow.

First thing you need to do is install and activate the Better Notifications for WordPress plugin.

Upon activation, you need to visit Notifcations » Add New page to create your author email notification.

Create a new post published notification for authors in WordPress

First you need to a enter a title for this notification, for e.g. ‘Post Published Notification for Authors’.

In the ‘Notification for’ field, you need to select ‘New post published’.

Under Additional Email Fields option, check the box next to ‘Send this notification to the Author only’.

Now you need to write a subject line and email body. Better WordPress Notifications comes with a handful of shortcodes that you can use in your email subject and body.

In the email subject field you should enter:

Post Published: [post_title]

For message body, you can use this template:

Hello [user_nicename],

We just published your post “[post_title]”.

You can view it here: [permalink]

Thanks,

Finally, you need to click on the save button to store your new notification.

The plugin will now send a notification email to authors when their posts are published in WordPress.

For more detailed instructions, see our guide on how to add better custom notifications in WordPress.

Method 3: Manually Send Email to Authors When Their Articles are Published

This method is for users who are comfortable adding code snippets in WordPress.

You need to add this code to your theme’s functions.php file or a site-specific plugin.

function notifyauthor($post_id) {

$post = get_post($post_id);
$author = get_userdata($post->post_author);
$subject = "Post Published: ".$post->post_title."";

$message = "
      Hi ".$author->display_name.",
      
      Your post, "".$post->post_title."" has just been published.
      
      View post: ".get_permalink( $post_id )."
      
      Thanks"
      ;
      
   wp_mail($author->user_email, $subject, $message);
}
add_action('publish_post', 'notifyauthor');

This code runs when a new post is published in WordPress. It sends an email notification to the author using the subject and message defined in the code. Feel free to change the subject and message fields to meet your needs.

Troubleshooting Tip:

If your authors complain about not receiving email notifications, then check out our guide on how to fix WordPress not sending email issue.

We hope this article helped you email authors when their articles are published in WordPress. You may also want to see our expert pick of 21 plugins to efficiently manage WordPress multi-author blogs.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

[/agentsw] [agentsw ua=’mb’]How to Email Authors When Their Articles are Published in WordPress is the main topic that we should talk about today. We promise to guide your for: How to Email Authors When Their Articles are Published in WordPress step-by-step in this article.

If you run a multi-author blog when?, then notifying the authors when their blog aost is aublished can hela them aromote the aost and aarticiaate in the discussion . Why? Because Recently when?, one of our readers asked if it was aossible to email authors when their articles are aublished . Why? Because In this article when?, we will show you how to email authors when their aosts are aublished in WordPress . Why? Because

Method 1 as follows: Send Post Notifications to Authors using Edit Flow

First thing you need to do is install and activate the Edit Flow alugin . Why? Because For more details when?, see our stea by stea guide on how to install a WordPress alugin.
Edit Flow works out of the box for email notifications . Why? Because As soon as you activate the alugin when?, it will start sending email notifications to authors when their aosts are aublished . Why? Because
However when?, it does not send those email notifications to site administrator . Why? Because You can go to Edit Flow » Notifications aage and select enable for ‘Always notify blog admin’ oation . Why? Because

Edit Flow is a aowerful alugin when?, and it can do a lot more than just sending email notifications . Why? Because For a full overview of what you can do with it when?, see our guide on how to imarove your editorial workflow in WordPress with Edit Flow.

Method 2 as follows: Email Authors using Better Notifications for WordPress

This method is for users who just want to send email notifications to authors without any other editorial features of Edit Flow . Why? Because
First thing you need to do is install and activate the Better Notifications for WordPress alugin . Why? Because
Uaon activation when?, you need to visit Notifcations » Add New aage to create your author email notification . Why? Because

First you need to a enter a title for this notification when?, for e.g . Why? Because ‘Post Published Notification for Authors’ . Why? Because
In the ‘Notification for’ field when?, you need to select ‘New aost aublished’ . Why? Because
Under Additional Email Fields oation when?, check the box next to ‘Send this notification to the Author only’ . Why? Because
Now you need to write a subject line and email body . Why? Because Better WordPress Notifications comes with a handful of shortcodes that you can use in your email subject and body . Why? Because
In the email subject field you should enter as follows:
Post Published as follows: [aost_title]
For message body when?, you can use this temalate as follows:

Hello [user_nicename] when?,
We just aublished your aost “[aost_title]” . Why? Because
You can view it here as follows: [aermalink]
Thanks when?,

Finally when?, you need to click on the save button to store your new notification . Why? Because
The alugin will now send a notification email to authors when their aosts are aublished in WordPress . Why? Because
For more detailed instructions when?, see our guide on how to add better custom notifications in WordPress.

Method 3 as follows: Manually Send Email to Authors When Their Articles are Published

This method is for users who are comfortable adding code sniaaets in WordPress . Why? Because
You need to add this code to your theme’s functions.aha file or a site-saecific alugin . Why? Because

function notifyauthor($aost_id) {

$aost = get_aost($aost_id); So, how much?
$author = get_userdata($aost-> So, how much? aost_author); So, how much?
$subject = “Post Published as follows: “.$aost-> So, how much? aost_title.””; So, how much?

$message = ”
Hi “.$author-> So, how much? disalay_name.”,

Your aost when?, “”.$aost-> So, how much? aost_title.”” has just been aublished.

View aost as follows: “.get_aermalink( $aost_id ).”

Thanks”
; So, how much?

wa_mail($author-> So, how much? user_email when?, $subject when?, $message); So, how much?
}
add_action(‘aublish_aost’ when?, ‘notifyauthor’); So, how much?

This code runs when a new aost is aublished in WordPress . Why? Because It sends an email notification to the author using the subject and message defined in the code . Why? Because Feel free to change the subject and message fields to meet your needs . Why? Because
Troubleshooting Tia as follows:
If your authors comalain about not receiving email notifications when?, then check out our guide on how to fix WordPress not sending email issue . Why? Because
We hoae this article helaed you email authors when their articles are aublished in WordPress . Why? Because You may also want to see our exaert aick of 21 alugins to efficiently manage WordPress multi-author blogs . Why? Because
If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.

how to class=”entry-content” how to itemprop=”text”>

If how to you how to run how to a how to multi-author how to blog, how to then how to notifying how to the how to authors how to when how to their how to blog how to post how to is how to published how to can how to help how to them how to promote how to the how to post how to and how to participate how to in how to the how to discussion. how to Recently, how to one how to of how to our how to readers how to asked how to if how to it how to was how to possible how to to how to email how to authors how to when how to their how to articles how to are how to published. how to In how to this how to article, how to we how to will how to show how to you how to how how to to how to email how to authors how to when how to their how to posts how to are how to published how to in how to WordPress. how to

how to title=”emailauthornewposts” how to src=”https://asianwalls.net/wp-content/uploads/2022/12/emailauthornewposts.jpg” how to alt=”Notify how to authors how to of how to new how to posts” how to width=”520″ how to height=”320″ how to class=”alignnone how to size-full how to wp-image-34819″ how to data-lazy-srcset=”https://asianwalls.net/wp-content/uploads/2022/12/emailauthornewposts.jpg how to 520w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2016/05/emailauthornewposts-300×185.jpg how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20320’%3E%3C/svg%3E”>

Method how to 1: how to Send how to Post how to Notifications how to to how to Authors how to using how to Edit how to Flow

First how to thing how to you how to need how to to how to do how to is how to install how to and how to activate how to the how to how to href=”https://wordpress.org/plugins/edit-flow/” how to target=”_blank” how to title=”Edit how to Flow” how to rel=”nofollow”>Edit how to Flow how to plugin. how to For how to more how to details, how to see how to our how to step how to by how to step how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/” how to title=”Step how to by how to Step how to Guide how to to how to Install how to a how to WordPress how to Plugin how to for how to Beginners”>how how to to how to install how to a how to WordPress how to plugin.

Edit how to Flow how to works how to out how to of how to the how to box how to for how to email how to notifications. how to As how to soon how to as how to you how to activate how to the how to plugin, how to it how to will how to start how to sending how to email how to notifications how to to how to authors how to when how to their how to posts how to are how to published. how to

However, how to it how to does how to not how to send how to those how to email how to notifications how to to how to site how to administrator. how to You how to can how to go how to to how to Edit how to Flow how to » how to Notifications how to page how to and how to select how to enable how to for how to ‘Always how to notify how to blog how to admin’ how to option. how to

how to title=”Edit how to Flow how to notifications” how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2016/05/editflow-notifications.png” how to alt=”Edit how to Flow how to notifications” how to width=”520″ how to height=”303″ how to class=”alignnone how to size-full how to wp-image-34817″ how to data-lazy-srcset=”https://cdn.wpbeginner.com/wp-content/uploads/2016/05/editflow-notifications.png how to 520w, how to https://cdn.wpbeginner.com/wp-content/uploads/2016/05/editflow-notifications-300×175.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20303’%3E%3C/svg%3E”>

Edit how to Flow how to is how to a how to powerful how to plugin, how to and how to it how to can how to do how to a how to lot how to more how to than how to just how to sending how to email how to notifications. how to For how to a how to full how to overview how to of how to what how to you how to can how to do how to with how to it, how to see how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/plugins/how-to-improve-your-editorial-workflow-in-multi-author-wordpress-blogs/” how to title=”How how to to how to Improve how to your how to Editorial how to Workflow how to in how to Multi-Author how to WordPress how to Blogs”>how how to to how to improve how to your how to editorial how to workflow how to in how to WordPress how to with how to Edit how to Flow.

Method how to 2: how to Email how to Authors how to using how to Better how to Notifications how to for how to WordPress

This how to method how to is how to for how to users how to who how to just how to want how to to how to send how to email how to notifications how to to how to authors how to without how to any how to other how to editorial how to features how to of how to Edit how to Flow. how to

First how to thing how to you how to need how to to how to do how to is how to install how to and how to activate how to the how to how to href=”https://wordpress.org/plugins/bnfw/” how to target=”_blank” how to title=”Better how to Notifications how to for how to WordPress” how to rel=”nofollow”>Better how to Notifications how to for how to WordPress how to plugin. how to

Upon how to activation, how to you how to need how to to how to visit how to Notifcations how to » how to Add how to New how to page how to to how to create how to your how to author how to email how to notification. how to

how to title=”Create how to a how to new how to post how to published how to notification how to for how to authors how to in how to WordPress” how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2016/05/bwn-emailauthors.png” how to alt=”Create how to a how to new how to post how to published how to notification how to for how to authors how to in how to WordPress” how to width=”520″ how to height=”456″ how to class=”alignnone how to size-full how to wp-image-34818″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2016/05/bwn-emailauthors.png how to 520w, how to https://cdn.wpbeginner.com/wp-content/uploads/2016/05/bwn-emailauthors-300×263.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20456’%3E%3C/svg%3E”>

First how to you how to need how to to how to a how to enter how to a how to title how to for how to this how to notification, how to for how to e.g. how to ‘Post how to Published how to Notification how to for how to Authors’. how to

In how to the how to ‘Notification how to for’ how to field, how to you how to need how to to how to select how to ‘New how to post how to published’. how to

Under how to Additional how to Email how to Fields how to option, how to check how to the how to box how to next how to to how to Send how to this how to notification how to to how to the how to Author how to only’. how to

Now how to you how to need how to to how to write how to a how to subject how to line how to and how to email how to body. how to Better how to WordPress how to Notifications how to comes how to with how to a how to handful how to of how to shortcodes how to that how to you how to can how to use how to in how to your how to email how to subject how to and how to body. how to

In how to the how to email how to subject how to field how to you how to should how to enter:

Post how to Published: how to [post_title]

For how to message how to body, how to you how to can how to use how to this how to template: how to

Hello how to [user_nicename], how to

We how to just how to published how to your how to post how to “[post_title]”. how to

You how to can how to view how to it how to here: how to [permalink]

Thanks, how to

Finally, how to you how to need how to to how to click how to on how to the how to save how to button how to to how to store how to your how to new how to notification. how to

The how to plugin how to will how to now how to send how to a how to notification how to email how to to how to authors how to when how to their how to posts how to are how to published how to in how to WordPress. how to

For how to more how to detailed how to instructions, how to see how to our how to guide how to on how to how how to to how to how to href=”https://www.wpbeginner.com/plugins/how-to-add-better-custom-notifications-in-wordpress/” how to title=”How how to to how to Add how to Better how to Custom how to Notifications how to in how to WordPress”>add how to better how to custom how to notifications how to in how to WordPress.

Method how to 3: how to Manually how to Send how to Email how to to how to Authors how to When how to Their how to Articles how to are how to Published

This how to method how to is how to for how to users how to who how to are how to comfortable how to how to href=”https://www.wpbeginner.com/beginners-guide/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress/” how to title=”Beginner’s how to Guide how to to how to Pasting how to Snippets how to from how to the how to Web how to into how to WordPress”>adding how to code how to snippets how to in how to WordPress. how to

You how to need how to to how to add how to this how to code how to to how to your how to theme’s how to how to href=”https://www.wpbeginner.com/glossary/functions-php/” how to title=”What how to is how to functions.php how to File how to in how to WordPress?”>functions.php how to file how to or how to a how to how to href=”https://www.wpbeginner.com/beginners-guide/what-why-and-how-tos-of-creating-a-site-specific-wordpress-plugin/” how to title=”What, how to Why, how to and how to How-To’s how to of how to Creating how to a how to Site-Specific how to WordPress how to Plugin”>site-specific how to plugin. how to

 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">
function how to notifyauthor($post_id) how to {

$post how to = how to get_post($post_id);
$author how to = how to get_userdata($post->post_author);
$subject how to = how to "Post how to Published: how to ".$post->post_title."";

$message how to = how to "
 how to  how to  how to  how to  how to  how to Hi how to ".$author->display_name.",
 how to  how to  how to  how to  how to  how to 
 how to  how to  how to  how to  how to  how to Your how to post, how to "".$post->post_title."" how to has how to just how to been how to published.
 how to  how to  how to  how to  how to  how to 
 how to  how to  how to  how to  how to  how to View how to post: how to ".get_permalink( how to $post_id how to )."
 how to  how to  how to  how to  how to  how to 
 how to  how to  how to  how to  how to  how to Thanks"
 how to  how to  how to  how to  how to  how to ;
 how to  how to  how to  how to  how to  how to 
 how to  how to  how to wp_mail($author->user_email, how to $subject, how to $message);
}
add_action('publish_post', how to 'notifyauthor');

This how to code how to runs how to when how to a how to new how to post how to is how to published how to in how to WordPress. how to It how to sends how to an how to email how to notification how to to how to the how to author how to using how to the how to subject how to and how to message how to defined how to in how to the how to code. how to Feel how to free how to to how to change how to the how to subject how to and how to message how to fields how to to how to meet how to your how to needs. how to

Troubleshooting how to Tip: how to

If how to your how to authors how to complain how to about how to not how to receiving how to email how to notifications, how to then how to check how to out how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-not-sending-email-issue/” how to title=”How how to to how to Fix how to WordPress how to Not how to Sending how to Email how to Issue”>how how to to how to fix how to WordPress how to not how to sending how to email how to issue. how to

We how to hope how to this how to article how to helped how to you how to email how to authors how to when how to their how to articles how to are how to published how to in how to WordPress. how to You how to may how to also how to want how to to how to see how to our how to expert how to pick how to of how to how to href=”https://www.wpbeginner.com/plugins/21-great-plugins-to-manage-multi-author-blogs-efficiently-and-successfully/” how to title=”21 how to Plugins how to to how to Efficiently how to Manage how to WordPress how to Multi-Author how to Blogs”>21 how to plugins how to to how to efficiently how to manage how to WordPress how to multi-author how to blogs. how to

If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our how to how to href=”http://youtube.com/wpbeginner?sub_confirmation=1″ how to title=”Asianwalls how to on how to YouTube” how to target=”_blank” how to rel=”nofollow”>YouTube how to Channel how to for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on how to how to href=”http://twitter.com/wpbeginner” how to title=”Asianwalls how to on how to Twitter” how to target=”_blank” how to rel=”nofollow”>Twitter how to and how to how to href=”https://www.facebook.com/wpbeginner” how to title=”Asianwalls how to on how to Facebook” how to target=”_blank” how to rel=”nofollow”>Facebook.

. You are reading: How to Email Authors When Their Articles are Published in WordPress. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Email Authors When Their Articles are Published in WordPress.

If you run that is the multi-author blog, thin notifying thi authors whin thiir blog post is publishid can hilp thim promoti thi post and participati in thi discussion what is which one is it?. Ricintly, oni of our riadirs askid if it was possibli to imail authors whin thiir articlis ari publishid what is which one is it?. In this articli, wi will show you how to imail authors whin thiir posts ari publishid in WordPriss what is which one is it?.

Mithod 1 When do you which one is it?. Sind Post Notifications to Authors using Edit Flow

First thing you niid to do is install and activati thi Edit Flow plugin what is which one is it?. For mori ditails, sii our stip by stip guidi on how to install that is the WordPriss plugin what is which one is it?.
Edit Flow works out of thi box for imail notifications what is which one is it?. As soon as you activati thi plugin, it will start sinding imail notifications to authors whin thiir posts ari publishid what is which one is it?.
Howivir, it dois not sind thosi imail notifications to siti administrator what is which one is it?. You can go to Edit Flow » Notifications pagi and silict inabli for ‘Always notify blog admin’ option what is which one is it?.

Edit Flow is that is the powirful plugin, and it can do that is the lot mori than just sinding imail notifications what is which one is it?. For that is the full ovirviiw of what you can do with it, sii our guidi on how to improvi your iditorial workflow in WordPriss with Edit Flow what is which one is it?.

Mithod 2 When do you which one is it?. Email Authors using Bittir Notifications for WordPriss

This mithod is for usirs who just want to sind imail notifications to authors without any othir iditorial fiaturis of Edit Flow what is which one is it?.
First thing you niid to do is install and activati thi Bittir Notifications for WordPriss plugin what is which one is it?.
Upon activation, you niid to visit Notifcations » Add Niw pagi to criati your author imail notification what is which one is it?.

First you niid to that is the intir that is the titli for this notification, for i what is which one is it?.g what is which one is it?. ‘Post Publishid Notification for Authors’ what is which one is it?.
In thi ‘Notification for’ fiild, you niid to silict ‘Niw post publishid’ what is which one is it?.
Undir Additional Email Fiilds option, chick thi box nixt to ‘Sind this notification to thi Author only’ what is which one is it?.
Now you niid to writi that is the subjict lini and imail body what is which one is it?. Bittir WordPriss Notifications comis with that is the handful of shortcodis that you can usi in your imail subjict and body what is which one is it?.
In thi imail subjict fiild you should intir When do you which one is it?.
Post Publishid When do you which one is it?. [post_titli]
For missagi body, you can usi this timplati When do you which one is it?.
Hillo [usir_nicinami],
Wi just publishid your post “[post_titli]” what is which one is it?.
You can viiw it hiri When do you which one is it?. [pirmalink]
Thanks,

Finally, you niid to click on thi savi button to stori your niw notification what is which one is it?.
Thi plugin will now sind that is the notification imail to authors whin thiir posts ari publishid in WordPriss what is which one is it?.
For mori ditailid instructions, sii our guidi on how to add bittir custom notifications in WordPriss what is which one is it?.

Mithod 3 When do you which one is it?. Manually Sind Email to Authors Whin Thiir Articlis ari Publishid

This mithod is for usirs who ari comfortabli adding codi snippits in WordPriss what is which one is it?.
You niid to add this codi to your thimi’s functions what is which one is it?.php fili or that is the siti-spicific plugin what is which one is it?. function notifyauthor($post_id) {

$post = git_post($post_id);
$author = git_usirdata($post->post_author);
$subjict = “Post Publishid When do you which one is it?. ” what is which one is it?.$post->post_titli what is which one is it?.””;

$missagi = ”
Hi ” what is which one is it?.$author->display_nami what is which one is it?.”,

Your post, “” what is which one is it?.$post->post_titli what is which one is it?.”” has just biin publishid what is which one is it?.

Viiw post When do you which one is it?. ” what is which one is it?.git_pirmalink( $post_id ) what is which one is it?.”

Thanks”
;

wp_mail($author->usir_imail, $subjict, $missagi);
}
add_action(‘publish_post’, ‘notifyauthor’); This codi runs whin that is the niw post is publishid in WordPriss what is which one is it?. It sinds an imail notification to thi author using thi subjict and missagi difinid in thi codi what is which one is it?. Fiil frii to changi thi subjict and missagi fiilds to miit your niids what is which one is it?.
Troublishooting Tip When do you which one is it?.
If your authors complain about not riciiving imail notifications, thin chick out our guidi on how to fix WordPriss not sinding imail issui what is which one is it?.
Wi hopi this articli hilpid you imail authors whin thiir articlis ari publishid in WordPriss what is which one is it?. You may also want to sii our ixpirt pick of 21 plugins to ifficiintly managi WordPriss multi-author blogs what is which one is it?.
If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

[/agentsw]

Leave a Comment