Email Subscription

The plugin gives your visitors the opportunity to subscribe to future posts by email. The register form is a widget. You can see a full list of your subscribers on the admin page.

Installation

Download the plugin at WordPress.org
Upload the plugin source to the `/wp-content/plugins/` directory
Activate the plugin through the ‘Plugins’ menu in WordPress

Usage

You can use the widget from the ‘Widget’ menu.

Notes

Your server must be able to send mail. There is a test in the admin menu.

The plugin uses wordpress schedule events to send emails. The schedule events is running at every page load. That means that if you have no pageloads, no mails will be sent.

This plugin has nothing to do with the (more advanced) WordPress built-in user registration/subscribe.

FAQ

When will the mails be sent?
-The first mails will be sent about 15 minutes after you publish a post. After that emails will be sent every minute.

The test mail is not sent, what should I do?
-Check your PHP configuration. Make sure you got Postfix or sendmail installed on the server. This issue is out of the scope of the plugin. Try google for ‘PHP mail’.

Translations

English
Swedish by me

Changelog

1.1.8 (2013-04-16):
Made some smaller fixes. No emails will be sent when you publish a page. The issue with the ajax request when wordpress is in a subfolder is fixed.

1.1.5 (2013-04-12):
Fixed selling error and the issue with future posts.

1.1.4 (2013-02-20):
Fixed the issue with resending emails on post edit. Very much thanks to Gibson Starkweather who emailed me with a solution.

1.1.3 (2012-08-30):
Fixed UTF-8 issue in mail subject.

1.1.2 (2012-08-28):
Added HTML support in emails.

1.1.1 (2012-08-28):
Fixed the issue with emails are being sent on post update.

1.1 (2012-08-28):
An admin may now remove subscribers. Also fixed some issues with %post_excerpt%.

1.0 (2012-06-12):
I created it.

  • Thoptek

    Hi!
    I instal this plugin, because i interested it, and I save this on the setting page. I did not change anything, I left everything to the default values.

    Under pushing the test button, then the test e-mail is arrive. Perfect! 

    Widget subscribe form is already exist, and I subscribe my 2 different e-mail adress.
    Next stepping I create a new post (2), I waiting the 20 minuts, and the e-mail is not coming when i more times reloading the page.

    Please, tell me, what is the problem?
    My  test page: http://topclick.co.hu

    Many thanks is!
    Lui

  • Lui

    Now I noticed that when a different e-mail addresses registered, you always write the error message link field: I do not see the admin panel registered e-mail addresses I do not know what could be the problem.

  • Damn Digital

    How should I trouble shoot why the test email isn’t being sent?

  • http://www.tnyholm.se/ Tobias Nyholm

     Check you PHP installation. Have you installed Postfix or sendmail on the server? That is way out of the scope for the plugin.

  • Lui

    I realized what is wrong. If registration is not enabled in the wordpress settings, it does not sign either. Well done Thanks Lui.

  • Vitor F. M.

    How can I help you to translate?

    I can translate it to Portuguese (Brazilian)

  • Vitor F. M.

    BTW, 

  • http://www.tnyholm.se/ Tobias Nyholm

     I’ll send you an email in a hour or so. Thanks

  • Raffi

    Hi, I tried out your widget, but somehow it doesn’t work properly. When I enter an email address and push the Subscribe-button, then there’s neither a message that it worked nor one that it didn’t work. The tables in the database are empty too. Do you have any idea, why this is happening? I’m running my own localhost-server.

  • Evan

    The unsubscribe feature doesn’t appear to be working for me. It takes me to my themes default 40 page. Is there any way I can fix this?

  • Evan

    *404 page

  • boris

    Hi,
    The unsubscribe feature doesn’t work for me…Is there a way to fix this?
    Thank you.
    Boris.

  • steve

    This plugin don’t work

  • http://www.tnyholm.se/ Tobias Nyholm

    Have you tested that your server are able to send emails?

  • hco

    Hi,
    The unsubscribe feature doesn’t work for me…Is there a way to fix this?
    Thank you.
    Hector

  • LilSnead

    Hi, ever since I installed this tool, my site is now sending emails from bach@mecus.es / any way to turn that off?

  • http://www.tnyholm.se/ Tobias Nyholm

    I’ve made a smaller change in that part of the plugin. Please report back if you still have this issue.

  • http://www.tnyholm.se/ Tobias Nyholm

    The plugin does not change any emails settings in the PHP runtime configuration nor wordpress settings. Take a look at the plugins admin page to see what changes that can be done.

  • Iri

    Hi, i installed it, my server can send emails, but it doesn’t work.

  • http://www.tnyholm.se/ Tobias Nyholm

    There is a test in the admin page. The test uses the PHP mail() function. Make sure PHP can send emails in order to get the plugin to work.

  • Iri

    I send Test email and it’s OK, but when I publish, doesn’t receive email.

  • http://www.tnyholm.se/ Tobias Nyholm

    It takes about 15 minutes, and you need some traffic on your page. Just click around a little bit.

    Also make sure that you are on the subscriber list. (Check the admin page)

  • Reinhard

    Hi, everything runs perfectly well except unsubscribing. I always get the following message ”Not Found The requested URL /wp-content/plugins/email-subscription/unsubscribe-9de4aa7bc1609b20/reinhard.reschke@gmx.de was not found on this server.”Any idea what should be checked first in order to pinpoint this error?

  • http://www.tnyholm.se/ Tobias Nyholm

    I’ll send you an email. I want to find this bug.

  • iri and ilia

    I change 15 minutes to 1minutes.
    In the same webserwer (php,mylsq,apache,dns1) i install 2 wordpress:
    (iri.sharcom.org)
    With wordpress 3.2.1 = mail users add to sql, but don’t wont send mail

    (test2.sharcom.org)
    With wordpress 3.4.1 = all work perfect!

  • ilia

    I change 15 minutes to 1minutes.
    In the same webserver (php,mylsq,apache,dns1) i install 2 wordpress:

    (iri.sharcom.org)
    With wordpress 3.2.1 = mail users add to sql, but don’t wont send mail

    (test2.sharcom.org)
    With wordpress 3.4.1 = all work perfect!

  • Chrissie

    hi there, i’ve installed the widget, test email was fine. But i did not receive email when I published after 15 minutes.
    Just went to check my admin, there are no subscribers in the list.
    Try several time but it’s still the same.
    Can you please let me know what to do?
    Thanks.

  • http://www.facebook.com/nathan.sealey.9 Nathan Sealey

    All the emails the widget sends go to the spam folder of people’s emails. Is their anyway to fix this?

  • http://www.tnyholm.se/ Tobias Nyholm

    Hi. That is a server and email protocol setting. That is way(!) out of the scope for any plugin. Talk with your hosting company.

  • Kevin

    Could there be a feature added that would allow me to import a list of addresses that already exist?

  • http://www.brightergy.com/ Brightergy

    I’m having the same issues as Raffi – also, when I change the email the site is sending from (from our web developer’s address to a company email address), and click save, the test message is still being sent to our web developer’s address.

  • Pingback: Message for email subscribers | Harold Jarche

  • Rohit

    Hi
    When I enter an email & hit the subscribe button, the whole form disappears & no message is shown.
    I am using WP 3.3.1

  • Leander Bindewald

    Hi, thank you for the plugin. Is there a way to not have it send emails when ”re-pubishing” a post, e.g. after making minor edits in the post´s text or changing the tags? Seems everytime I do this all subscribers are send an email as if the post was brandnew. Thanx in advance, Leander

  • philips

    do this nice plugin, does it supports unsubscription :D ?

  • philips

    I found out the reason is because in the email-subscription.js, author had a fixed url of:
    //send message just the drthom drblog
    jQuery.post(”/wp-admin/admin-ajax.php” <– which if you using subdomains(e.g example.com/blog), the url for post will be wrong.
    :
    this will no

  • philips

    test email sents, subscription works, but no email after a new post after 15mins(tried it few times)

  • Mr. Premium Patio

    HI,
    I have downloaded this widget and installed it on my side which was nice and easy. I dont know how to send emails out to the subcribers? Any assistance would be appricated.

  • Jackie

    One of my clients uses this plugin and it works fine, except people are getting notifications of posts every time they are edited. Is there a fix for this?

  • ebaron

    Subscribers are receiving updates every time I edit a post. Is there any fix for this, so that they’ll only get an update when the post initially is published? Help!!

  • http://twitter.com/Aleksandertw Aleksander_Karaoke

    Thanks :-)

  • a

    Hi, thank you for the plugin. Is there a way to not have it send emails when ”re-pubishing” a post, e.g. after making minor edits in the post´s text or changing the tags? Seems everytime I do this all subscribers are send an email as if the post was brandnew. Thanx in advance, Leander

  • systems dude

    I have the same problem. Any suggestions?

  • avneesh

    hi
    unsubscribe url is not working,
    what should i do?

  • Ash

    Great plugin! Would it be easy to setup a rule to set the maximum amount of emails per day? If I create 10 posts in a day, I’d want to limit the emails to 3. Thank you!

  • mikeleib

    just trim off the leading / in the post argument

  • Alberto

    Hello and thanks for this great plugin.

    My blog is in spanish and I want to translate the text (from, subject, body…) of the emails that I send to my subscriptors.

    I’ve been editing these texts in the email-subscription.php script and uploading it again to my hosting but the emails received after that are still in english.

    Sample: //add some options
    add_option(‘emailSub-subject’,'Nuevo artículo en ‘.get_option(‘blogname’));
    add_option(‘emailSub-body’,”Hay un nuevo artículo en %site_url%.Puedes leerlo aquí: n%post_url% ”.
    ”nnnn Si quieres darte de baja de la lista de correo, sigue este enlace: %unsubscribe_url% ”);
    //add_option(‘emailSub-from_name’,'El administrador de ‘.get_option(‘blogname’));
    add_option(‘emailSub-from_name’,'El administrador de Más verde en tu vida’);
    add_option(‘emailSub-from_email’,get_option(‘admin_email’));
    add_option(”emailSub-posts_processed”, array());

    Any other script to modify?

    Thanks a lot.

  • Nicklas

    Yup, +1 on that – nothing happens, just blank. Console also says admin-ajax.php returned a 500 status (Internal Server Error). Sounds fun, yay.

  • Nicklas

    Philips posted a solution for it a few comments down. Go to the plugin’s folder, open the assets folder, then open email-subscription.js. At the top of the file, edit the string where it says ”/wp-admin/admin-ajax.php” to match your websites URL. If WP is installed at /blog, the correct URL would be ”/blog/wp-admin/admin-ajax.php”. An even better solution would be to dive into header.php and add this: ”var wp_root_url = ”;” just before , and then in email-subscription.js you could just write ”wp_root_url + ”wp-admin/admin-ajax.php” ”, that way it will be dynamic and always work no matter what type of URL you have.

  • Julian Claus

    For me the excerpt doesn’t show up, only the the first words of the content.

  • Julian Claus

    I have another question: How can I allow Javascript in sent e-mails?

  • efwefwe

    dfqwefwefwefwefwefwefwef

  • efwefwe

    테스트중

  • efwefwe

    dddddddddd

  • 박성민

    epwenfweoifnwofmwoefnmowefwef

  • 박성민

    테스트 괜찮네요

  • Libby S

    Hi. Some of our subscribers are reporting that the email links they receive are ”dead.” By this they mean they aren’t hyperlinked / clickable. Any thoughts on why this is happening?

  • joji

    helo….i got the respose status 200, but my email address is not inserted into data base. Pls help me.But works fine in localhost-server

  • FoxyDomi

    Hi, thanks for the plugin… My question : I have also the plugin Email template which works perfectly, but when emails are sent when a new post is posted, emails don’t go through it. But when I test my server configuration, it goes through the Email template plugin….
    Any issues ?

  • Amy Mayen

    I had a designer redo my site design & suddenly my email subscriptions stop working. Test email works. She says it’s not her problem, that the plug in is messed up & I have to find a new plug in. Is there a reason why it won’t send emails?

  • gnfoster

    Anybody know how to easily keep the plugin from emailing ”pages”? I wan’t to inform subscribers of ”posts” only.

  • Dhiraj Kumar

    I am using the wordpress version 3.3.2. I have intalled this plugin. Is This plugin operable for this version of wordpress. As i havenot got any email..

  • Dhiraj Kumar

    I have installed and subscribed for the blog posts. but i donot recieved any email after posting a blog…

  • Dhiraj Kumar

    hello.. any one have idea about Current subsribers ? no list is showing…

  • Jens

    Actually, the problem is that the url is absolute, it should be relative to work. If you change ”/wp-admin/admin-ajax.php” for ”wp-admin/admin-ajax.php” (notice the missing first slash) then it should work fine no matter whats your blog base url. In fact this is a bug and the plugin should be updated to use a relative url.

  • http://www.tnyholm.se/ Tobias Nyholm

    Sorry for beeing inactive here. But remember that I do this on my free time and I don’t get a penny nor a link in return.

    I have fixed this issue. I use the site_url() function to get the proper path to admin-ajax.php.

  • http://www.tnyholm.se/ Tobias Nyholm

    updated! (finally)

  • http://www.tnyholm.se/ Tobias Nyholm

    no list= empty list

  • http://www.tnyholm.se/ Tobias Nyholm

    Try updating the plugin

  • http://www.tnyholm.se/ Tobias Nyholm

    Update the plugin to 1.1.8 and the issue will be fixed

  • Anup

    I am not sure that its work properly for custom post type. is it tested?

  • http://720pmkv.com/ pravin thkr

    dont you have any demo available ?

  • KimberlyRae

    Hi there! Thank you for your Exciting plug in! However, when sending the widget to my sidebar it does not even appear! I must be doing something wrong….helpppppppp!