Skip to content
Sign in

Post2Mail

Automatically e-mail a post to a list of recipients when it is published.

Not scanned yet WordPress plugin 10 installs

Install in

No install steps yet

Follow the steps on the source page.

Post2Mail sends an e-mail whenever a post is published. It is useful for notifying a mailing list, an administrator, or any other selected recipients.

Messages can be sent as plain text or HTML. Each message includes a link back to the published post. Recipients, CC, BCC, and the sender address are configured in a separate file, and all addresses are validated before sending.

To configure the plugin, edit post2mail.config.php and set:

  • $to – primary recipients, separated by commas.
  • $cc – carbon-copy recipients.
  • $bcc – blind carbon-copy recipients.
  • $from – the sender address.
  • $sendHTML – set to true to send HTML mail, or false for plain text.
  • $linktext – the text shown on the link back to the post.

Written by Joobi from the project's own listing. See the source page

emailmailnotificationpostpost2mail
26 Nov 2026
Version 1.1.0 released. Not scanned yet.

1.1.0

  • Switched to wp_mail() for reliable delivery through WordPress.
  • Replaced the removed get_postdata() function with get_post().
  • Fixed configuration loading so it no longer depends on the current directory.
  • Added e-mail address validation to prevent header injection.
  • Fixed undefined variable warnings on PHP 8 and later.
  • Added compatibility with current WordPress and PHP versions.

1.0

  • First stable version.
6 Mar 2012Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)