Email CoAuthor On Post


This plugin solves a missing feature in WordPress. This missing feature is
the ability to email the subject or co-author of the blog post when the post
which they assisted with is published. This plugin solves this problem by
allowing each blog post to have the ability to email a different email address
for each post as it is published.

Supported Variables

  • $domain – Replaced with the URL of the website
  • $post_url – Replaced with the URL of the post which was published
  • $title – Replaced with the title of the post which was published

Tangkapan Layar

  • This screenshot shows the setting field in use.
  • The settings screen with values which have been filled out.
  • The custom fields overriding the default subject and body.
  • "Email CoAuthor On Post" widget on the new post editor.


This section describes how to install the plugin and get it working.


  1. Upload EmailCoAuthorOnPost.php to the /wp-content/plugins/EmailCoAuthorOnPost directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the global settings through the settings page.

Tanya Jawab

How do I change the set the email address to email?

Fill out the “Email CoAuthor On Post” widget within the New Post editor. Using the plugin only
requires that the Name and email addresses are filled out. Customizing the subject and body
on a per post basis is optional.

Can multiple email addresses be emailed at once?

Yes. There are two options for doing this. The first option is to use the “Email CoAuthor On Post” widget on
the new post editor and simply put a comma between each email address. The second option is to add one “EmailTo”
custom fields each one with a different email address.

How do I change the default subject and body of the message?

The default subject and message are configured via the settings page.

How do I change the subject and body for one blog post?

Fill out the “Email CoAuthor On Post” widget within the New Post editor.

Can I personalize emails on a single blog post to multiple email addresses?

No. Only the first EmailToName value which the script finds will be used, and it will be used for
all the emails which are sent out for that blog post.

Can I customize the from email address?

Not at this time. I’ve you’d like to see this feature added please let me know.

What HTML is supported?

Just about anything that you want to put into the email and that’s supported by email clients can
be used. The plugin doesn’t scrub or process the email in any way. It simply passes the HTML
that you supply and adds in the HTML headers to the email so that the email client that the user
is using processes the HTML tags.

The emails aren’t showing up in HTML, what should I do?

First check the Settings page to make sure that the Send as HTML checkbox is checked. If it is
check that your email client supports HTML email.


Baca semua 1 ulasan

Kontributor & Pengembang

“Email CoAuthor On Post” adalah perangkat lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.


Log Perubahan


  • Added abilities to use notes with the plugin


  • Tested for version 4.3
  • Fixed bug where an error was thrown when publishing without saving a draft. (Thanks dpknauss for reporting.)


  • Tested for version 4.1


  • Addes option to have default subject and body shown for each post and page.
  • Fixed Undefined variable errors from post/page meta-box.


  • Fixed bug where people without the manage_options right could not log into the admin screen at all.


  • Fixed the support and donate URLs.


  • Added support for emailing someone when a page is published.


  • Bug fixes related to sending emails to admins.


  • Added the widget on the new post and new page editors.


  • Added support for variables within the subject and body of the message. Supported variables are $domain, $post_url and $title. When processed the emails will be sent with the values of these variables replaced with the URL or the site, the URL of the post and the title of the post respectively.


  • Tested for WordPress 1.5.1


  • Made the text box for the message body larger.


  • Changed all the code to be wrapped within a class to minimize object name problems and to shorten function names.
  • Added a banner message on the admin pages about the settings needing to be set after initial installation.
  • Plugin only sends an email when the status is changed. This fixes the problem of sending an email every time an already published post is updated.
  • Added a security check on the settings page to prevent manual navigation to the settings page.
  • Removed the settings link from the Installed Plugins page if the user doesn’t have the right to edit the settings.


  • Fixed the donation link on the settings page.


  • Added support for HTML in the email body.
  • Added the ability to email a list of addresses on every post being published.
  • Optimized the PHP code a little.


  • Moved the donation link on the settings page to a more appropriate location.
  • Updated the FAQ.


  • Added the settings screen.
  • Added the ability to override the subject and body on a post by post basis.
  • Added the ability to personalize the emails.
  • Added support for multiple EmailTo fields (see FAQ).


  • Birth of the plugin.