WordPress Email Notification Plugin v2.2
The Word Press Email Notification Plugin has been updated to version 2.2.
Updates to this version:
- Added a template option for HTML emails (a HUGE hat tip goes out to Jeff Mikels for this functionality)
- Added the option for the admin to remove people from the mailing list
If you see anything that looks like a bug or the documentation needs corrected, please let me know.

August 13th, 2005 at 3:55 pm
I’m currently working on a category functionality that will allow individual users to be subscribed to particular categories. I have the back end already implemented, but the UI hasn’t been created yet.
August 13th, 2005 at 7:25 pm
I must be doing something stupid ’cause I SWEAR I’m following the instructions, everything is fine after running the install.php and everything looks good after it’s activated. (I’m using WP v.1.5.1.3) But when I click on the button to subscribe I always get a 404 error that it can’t find the maillist/index.php.
During the setup, I enter the site URL as “http://www.logoswalk.com/” and the blog URL as “http://www.logoswalk.com/journal/”. I’ve copied the maillist directory to “http://www.logoswalk.com/maillist” and the wp-email-notification directory so that the path is “http://www.logoswalk/journal/wp-content/plugins/wp-email-notification/
Plese don’t hesitate to let me know if further information is required; any assistance would be much appreciated. Thanks!
August 15th, 2005 at 10:35 am
i found this eror after i upgrade the new wordpress 1.5.2 Could not successfully run query (SELECT * FROM wp_email_list) from DB: No Database Selected
i have uninstall and do fresh install for the plugin, and still got the eror things.
August 15th, 2005 at 6:09 pm
I experienced some difficulties during the installation, and fixed them this way:
* The variable $DOCUMENT_ROOT is not known in wp-email-notification\index.php. I had to add the following line before the line include(…..wpemn_config.php) :
$DOCUMENT_ROOT = getenv(’DOCUMENT_ROOT’);
* My blogtitle contains an apostrophe (’). maillist/install.php does not check the form fields, and this causes the INSERT INTO wp_email_list_config table to fail. Workaround: do not use any illegal characters (such as ” or ‘) in the form fields. Real solution is input checking / character encoding in install.php
August 15th, 2005 at 6:19 pm
Until updating to WP 1.5.2 and Notification Plugin v2.2 all worked fine. Now confirmation links do not work anymore. Clicking the link will result in a blank page, and the email is still not confirmed. How come?
August 16th, 2005 at 10:57 am
i’ve tried several times to install this version (and the previous version…i received the same errors and then i came across the new release) on WP 1.5.1.3 and have gotten several erros. first, the output errors after running install.php:
Warning: mysql_connect(): Unknown MySQL server host ‘http’ (1) in
…
the other menu selctions work but the initial two errors that show up when clicking on the “E-Mail Notification” page under WP options are always present.
any idea what’s wrong?
August 16th, 2005 at 12:03 pm
1. Thanks Jeff!
2. Try both URLs as http://www.logoswalk.com/journal/
3. Is your table named wp_email_list and does it reside in the same DB as the rest of your WP tables?
4. Some servers don’t have the $DOCUMENT_ROOT set.
We’ll add checking for ‘ & “.
5. Your URL should be http://blog.rifid.de not http://www.rifid.de
6. Make sure your database information is correct. The mailing list tables should reside in the same database as the WordPress tables.
August 16th, 2005 at 6:05 pm
Thank you for your helpful hint. Now your great plugin works smooth again.
Just in case somebody else has a blog running in a subfolder and a subdomain redirecting to that subfolder: try to change line 188 ($confurl) in file maillist/index.php.
August 16th, 2005 at 7:21 pm
Now I’m getting under the Options tab after activating the plugin:
Warning: main(/maillist/wpemn_config.php): failed to open stream: No such file or directory in /home/isomd/public_html/journal/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(/maillist/wpemn_config.php): failed to open stream: No such file or directory in /home/isomd/public_html/journal/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(): Failed opening ‘/maillist/wpemn_config.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/isomd/public_html/journal/wp-content/plugins/wp-email-notification/index.php on line 19
Of course, these files ARE there.
BOTH the site and blog URL’s are listed as http://www.logoswalk.com/journal/
And the maillist directory is located under
http://www.logoswalk.com/maillist
Sorry to be such a pain, but thanks for the assist!
August 16th, 2005 at 7:36 pm
I am also having problems with this plugin after upgrading wordpress to 1.5.2. The subscription form seems to work, but nothing in the Options part of the admin panel. Here are my error messages:
Warning: main(): open_basedir restriction in effect. File(/maillist/wpemn_config.php) is not within the allowed path(s): (/home/myuser/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/myuser/public_html/mysite/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(/maillist/wpemn_config.php): failed to open stream: Operation not permitted in /home/myuser/public_html/mysite/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(): open_basedir restriction in effect. File(/maillist/wpemn_config.php) is not within the allowed path(s): (/home/myuser/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/myuser/public_html/mysite/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(/maillist/wpemn_config.php): failed to open stream: Operation not permitted in /home/myuser/public_html/mysite/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(): Failed opening ‘/maillist/wpemn_config.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/myuser/public_html/mysite/wp-content/plugins/wp-email-notification/index.php on line 19
Nothing has changed re: DB or anything like that. The only thing that has also changed independent of the WP upgrade is that I changed my permalink structure. Could that have something to do with it?
Thanks!
August 16th, 2005 at 8:22 pm
Sorry. It’s working now. I forgot I had to change my path settings in index.php.
August 17th, 2005 at 10:27 am
A few more errors…some the same, some different.
I input the proper database information and received no errors while running install.php. However, when I go to the admin/option area inside WP, several lines of errors show up…
These errors show up before the options (import/export/remove/subscribers/update) inside the admin area:
Warning: main(/maillist/wpemn_config.php): failed to open stream: No such file or directory in /home/.jackrabbit/jratlee/web/journal/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(/maillist/wpemn_config.php): failed to open stream: No such file or directory in /home/.jackrabbit/jratlee/web/journal/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(): Failed opening ‘/maillist/wpemn_config.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/.jackrabbit/jratlee/web/journal/wp-content/plugins/wp-email-notification/index.php on line 19
And these two lines show up after that menu on the same page:
Warning: mysql_connect(): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) in /home/.jackrabbit/jratlee/web/journal/wp-content/plugins/wp-email-notification/index.php on line 44
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/.jackrabbit/jratlee/web/journal/wp-content/plugins/wp-email-notification/index.php on line 45
What’s different from the errors I encountered last time is that all the options (import/export/remove/subscribers/update)in the admin area work this time and i’m able to edit/use them.
Finally, I instered the form code into my comments template and to test it out, I entered my own e-mail address and clicked “sign up.” However, all i got was a 404 Not Found. This is the address it looks for: http://www.ratcliffe-lee.com/journal/2005/08/09/519/maillist/index.php.
Sorry for all the questions/errors but your help is greatly appreciated. Everyone who reads my journal still uses livejournal and your plugin provides an easy way for them to keep track of my journal.
August 17th, 2005 at 10:37 am
I fixed the last problem in my previous comment about getting a 404 when trying to test out the sign-up form. You might want to specify, depending on where people put the form, that the URL for the form action should be the full one. For example, in the form code, I changed action=”maillist/index.php” to action=”http://www.ratcliffe-lee.com/maillist/index.php” and the form now works properly.
August 20th, 2005 at 3:48 pm
To get it working I needed to add the line as specified by Joost above (Thanks, Joost!) AND duplicate the maillist directory so that it’s in BOTH MySite/maillist AND MySite/MyJournal/maillist.
Hope this helps anyone with the same issues.
August 21st, 2005 at 6:43 am
So I’m surmising from your “wish list” that this plug-in does NOT work with posts published with a future date. I wish I’d understood that before undertaking the work to implement it. Unfortunately that’s my main way of posting. I guess I’ll continue to look for this functionality in another plugin but will check back every so often ’cause in spite of it taking me awhile to get it working it otherwise has and does everything I was hoping. Wish you luck.
August 22nd, 2005 at 9:38 am
I’ve been experimenting with this plugin and have several accounts (e.g. gmail, msn, etc.) that I’ve sent the html formatted message to see how it appears. I am sending the full content of the post and for some reason in MS Outlook there are no scroll bars. It just seems to cut the message off. This is not the case for web-based email readers, which work fine. Has anyone else seen this problem or can offer a solution? Thanks.
August 23rd, 2005 at 1:05 am
It seems to install OK, but then once I go to options–>email notification, look what happens: (what do any of these errors mean?)
WordPress Email Notification Plugin v2.2 Admin Area
Warning: main(): open_basedir restriction in effect. File(/maillist/wpemn_config.php) is not within the allowed path(s): (/home/newslett:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/newslett/public_html/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(/maillist/wpemn_config.php): failed to open stream: Operation not permitted in /home/newslett/public_html/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(): open_basedir restriction in effect. File(/maillist/wpemn_config.php) is not within the allowed path(s): (/home/newslett:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/newslett/public_html/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(/maillist/wpemn_config.php): failed to open stream: Operation not permitted in /home/newslett/public_html/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(): Failed opening ‘/maillist/wpemn_config.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/newslett/public_html/wp-content/plugins/wp-email-notification/index.php on line 19
Import Addresses :: Export Addresses :: Remove Addresses :: Email List Subscribers :: Update Settings
IMPORT
DB Query Error!
August 28th, 2005 at 4:32 pm
Hi,
I’ve been using this great plugin from the beginning, always worked fine. I’ve just upgraded toWordpress 1.5.2 and version 2.2 of this plugin. In the Admin panel for this plugin i get this error
Warning: main(/maillist/wpemn_config.php): failed to open stream: No such file or directory in /home/sense4de/public_html/rossifiles/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(/maillist/wpemn_config.php): failed to open stream: No such file or directory in /home/sense4de/public_html/rossifiles/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(): Failed opening ‘/maillist/wpemn_config.php’ for inclusion (include_path=’.:/usr/local/lib/php:/usr/lib/php’) in /home/sense4de/public_html/rossifiles/wp-content/plugins/wp-email-notification/index.php on line 19
Import Addresses :: Export Addresses :: Remove Addresses :: Email List Subscribers :: Update Settings
Everything still seems to work fine, but i get this very annoying message and cannot use al the funtctions of this plugin anymore.
Can naybody pleas help me?
Thank you,
Vidal
August 31st, 2005 at 7:45 pm
I love this plug in, I use it on 3 of my sites.
Do you plan to ever add the option of “daily digest” in this plugin? I update 3 or 4 times daily and I don’t want to fill the subscribers inbox.
I do offer an RSS feed, this would just be an alternative.
Thanks.
September 2nd, 2005 at 12:45 pm
I was going to be really mad… but I finally found a scripting error that was impeding the sql connect.
When creating the file “wpemn_config.php”, instructions are incorrect. Please revise “mailist/install.php” at line 177, replacing “
September 3rd, 2005 at 6:26 pm
Hi,
i got a little prob with this plugin. I installed it. I got no error at all, i can add email adresses from the form with no problem. (confirmation emails works fine)
In the option menu, everything looks ok, no errors, i can import / export email adresses and so on.
The dropdown menu in the writing editor is there too.
But, when i write an article, i don’t receive any mail at all… and can’t find where i made a mistake.
Thanks for you help
September 6th, 2005 at 11:33 pm
The only way I can get this to work is to use the double maillist directory technique described by Dan in comment 14. My Wordpress installation is at example.com/blog/
With maillist list directory at example.com/maillist/ only, I get an error similar to Vidal (18) when I click the Email Notification tab in Admin.
With maillist list directory at example.com/blog/maillist/ only, attempting to subscribe returns a 404 page not found.
Two maillist directories fix both problems, but it seems kind of clunky.
September 7th, 2005 at 9:01 am
If you see something like this
Could not successfully run query (SELECT * FROM wp_email_list) from DB: No Database Selected
you might want to change the opening
September 12th, 2005 at 2:08 am
One major installation note that I have yet to find in any documentation is that you need to install the plugin’s tables in your WP database. So in the /maillist/install.php form put the same DB Name, DB User, DB Password information as what you used for installing WP originally. If you don’t, then everything can work properly except emailing new blog entries.
That might help your troubleshooting a little better
September 14th, 2005 at 5:48 pm
while the new HTML template kicks tons of butt, it doesn’t always display correctly.
for one, gmail displays the HTML code w/o rendering it as html, yet Thunderbird displays it just fine.
any idea why this would be?
September 15th, 2005 at 1:05 pm
seems like it may just be Gmail, anyone have an idea for a fix?
or how i can get it to display plain text if the HTML fails?
September 17th, 2005 at 12:54 pm
Hi,
Just implemented the plugin. Everything works fine, but my blog operates with charset=ISO-8859-15″, and once HTML mails are sent by the plugin, they seem to be formatted with other charset, such as UTF8, as special characters are not properly displayed.
Where can I specify HTML mail charset? Any hint?
Regards,
September 18th, 2005 at 1:07 am
the html formatted emails in v2.2, while great, are not working w/ Gmail for some reason. it just displays ‘em as code…
any ideas?
September 19th, 2005 at 4:08 pm
Hi folks,
just to confirm that i suffer the same situation explained in my previous post when sending plain text notification emails. My blog operates with european 8859-15 charset, and mails received are not compatible with that charset. They seem to be formatted with UTF-8, as ampersand characters are not respected.
Do you have any hint on what´s happening?
Thanks in advance
My WP is available at http://www.sahw.com/wp
September 30th, 2005 at 9:59 am
I’m having the same problem as isnaini (post number 3). I do not understand what Marcus (post number 23) means by “change the opening.” All my db info is correct, and the table does exist. To be even more specific, here’s the exact wording of the error:
Could not successfully run query (SELECT * FROM wp_email_list_config WHERE id = ‘1′) from DB: No database selected
Any further help? Thanks!
October 4th, 2005 at 9:56 am
Hi,
I am desperately trying to get this plugin working with Postie. If I post to the site from the blog, the plugin works great. However, when I email the blog entry in(using postie plugin), it posts to the site, but it does not email users.
I understand this is because of a bug within Wordpress (the xml-rpc hook), but according to wordpress this has been “fixed”, http://trac.wordpress.org/ticket/967
help?
Thanks,
BJ
October 6th, 2005 at 12:05 am
My plugin has stopped sending notifications of posts - I thought it was working after I upgraded to v2.2 but I may possibly not have tested thoroughly enough.
The blog is at: http://judithgoodyear.com/blog/
Users can subscribe OK - confirmation email goes out - name and address is added to wp_email_list.
I can successfully email list subscribers from the Admin Area, export or remove them.
I did have problems accessing the Admin Area after I updated as the documentation described.
In addition to the double maillist directory solution I described in comment 22, I also found I can just use one /maillist/ in the website main directory by adding the line:
$DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];just before line 19 of wp-email-notification-index.php.
Unfortunately, the script does not send out notifications with either configuration.
I’ve tried downloading a new copy of the plugin and re-installing, I’ve tried changing the Blog URL and Site URL settings, and I’ve tried changing the theme, I’ve used up most of today going up all sorts of blind alleys actually, but no joy.
Any clues as to what else I should be looking at would be MUCH appreciated.
October 9th, 2005 at 2:41 am
It finally occurred to me that I should check for conflicts with other plugins (clue: email-notification worked when I installed it, then mysteriously stopped).
The culprit turned out to be Stilglog’s Coppermine Intergration Plugin:
http://mvdkwast.free.fr/stilglog/index.php/wordpress-plugins/coppermine-plugin/
I’ll update to his latest version and see if that fixes things.
Any idea about where the conflict might be occurring Brian?
October 10th, 2005 at 9:14 am
This plugin does not play well with Counterize at all. It apparently occupies the exact link space as Counterize and tries to find files in the Counterize table.
October 10th, 2005 at 7:18 pm
Awesome plugin! Thanks a million.
Would it be possible to truncate the post within the email to sort of push people to go to the site?