WordPress Email Notification Plugin v2.3.1
-
The Word Press Email Notification Plugin has been updated to version 2.3.1.
Updates to this version:
* Blog names with commas now display correctly in the from field
* Changed the default location to look in the WP directory for the wpemn_config.php file
* Updates the sent flag before sending future dated posts in order to cut down on duplicate e-mails being sentIf you see anything that looks like a bug or the documentation needs corrected, please comment on the Watershed Studio blog.
-
Where do I put the following code?
<?php email_notification_future_send(); ?>It says put in your template header file, which I think I did, but maybe not on the right line to make it work. header.php is the file to use, isn’t it? I used the header.php file in the template that’s active, and placed the code right before the /header tag.
Notification of new posts is not working, and I think that’s why.
hi all:
Got two errors during the install:
Warning: mysql_connect(): Access denied for user ‘Michael Huber’@’localhost’ (using password: YES) in /home/sysop/public_html/worldalone/maillist/install.php on line 210Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/sysop/public_html/worldalone/maillist/install.php on line 211
Need a little bit of help deciphering these errors before I proceed. Thanks.
Hello! I’m having a problem with the plugin, but I hope it’s a simple fix. It has been installed and everything *looks* good, however, when I test subscribing, no one is ever added to the address book. No emails are sent, but when I look in the address book, no entries, so I thought that might explain why no emails are going out. What is the cause of this? I thought that when someone puts their email address in and hits subscribe that that email address would be captured and added to the address book? Any ideas? Thanks!
-don pendergraft
I just installed the plugin and everything works, save one thing. When you go to the confirm link, you are given a 404 error, and it does not register you. Any ideas what could be the problem?
I instaled and just tried to subscribe with a email ***@gmx.net. I wait subscrition email for one hour, so I look to spam folder and the email was blocked as spam. I tried with another account from my own server, with spamassassin, and the message didn’t show. Than I tried with another email without protection and the message was delivered.
I can’t understand what made spamfilters block that message.Unless I’m mistaken, this plugin appears to lack protection against exploitation by spammers, as well as addresss validation. I added the following code (below line 31 of maillist/index.php) to correct this:
// validation added
$addr = trim(strtolower(strip_tags($addr)));
$addr = str_replace(“\r”, “”, $addr);
$addr = str_replace(“\n”, “”, $addr);
$addr = str_replace(“content-type:”, “”, $addr);
If ($addr == “”) {
echo “No email address provided.”; exit;
} Else {
$Pos = strpos($addr, “@”, 1);
If ($Pos === FALSE) {
echo “Email address was formatted incorrectly. Please re-enter.”; exit;
} Else {
$Pos2 = strpos($addr, “.”, ($Pos+2));
If ($Pos2 === FALSE) {
echo “Email address was formatted incorrectly. Please re-enter.”; exit;
} Else {
$intLength = strlen($addr);
If ($intLength > 60) {
echo “Email address was formatted incorrectly. Please re-enter.”; exit;
}
}
}
}I updated the time from server time to local time. Posts are sent “the first time” (if I don’t save and preview). If I choose “no” (don’t notify subscribers); then I HAVE to update the time stamp to get it to send? And any time I update the time stamp after the first post (if I edit the post); then, there’s no way I can get the post to send to the list a “second” time (which may be the “first” time … assuming I set the option to NOT send the first time I posted)? Having the option to notify default to “yes” results in drafts being sent?: Every time I edit, I have to manually set the option to “no”? I’ve now set the default to “no” … if I edit several times and don’t change the time stamp, will it send the “first” time I set the option to “yes” (regardless of how long ago the original time stamp says I began writing the post)?
I suggest a default to “no” and an automatic send every time the option is switched to “yes” (this would bypass all the time stamp issues) … or a default to “yes” and a ONE TIME ONLY send related to the first time the POST button is chosen!
Confusing.
As well, STICKY IMAGE images don’t show up in the html email (a minor inconvenience … but is there a SIMPLE work-around)?
My problem seems to be different than mosts… after installing the plugin, a good majority of my management pane dissapears. The preview and upload portions to be exact.
If I click on save and continue, or save, I get the following error message:
Table 'user_454503.wp_email_list_config' doesn't exist
Warning: Cannot modify header information - headers already sent by (output started at /home/content/C/a/l/Calmatt/html/wordpress/wp-content/plugins/wp-email-notification/email_notification_2.3.1.php:81) in /home/content/C/a/l/Calmatt/html/wordpress/wp-includes/pluggable-functions.php on line 272
I was getting some of the other errors earlier, like the errors on lines 369 & 372… thanks jafaruddin for the info on the fix! Hopefully this one will be as easy.
matt
K, I figured out a few things. At the bottom of the email_notification_2.3.1.php file, there’s these lines:
//********************************************//
// Actions
//********************************************//// Notify box in advanced mode
add_action('edit_form_advanced', 'email_notification_form');// Notify box in simple mode
add_action('simple_edit_form', 'email_notification_form');// Notify box in page mode
add_action('edit_page_form', 'email_notification_form');// Admin menu
add_action('admin_menu', 'email_notification_admin');//Send the notification
add_action('publish_post', 'email_notification_send', 5);// Send the notification of future dated posts
add_action('publish_post', 'email_notification_future_send');The top two or three add_action statements seem to be the culprits behind makind the menu system all funky. The bottom few seem to be causing the error I listed above. Any ideas?
Figured it out!!! The email notification database has to be the same as the wordpress database! I created a new wordpress blog for my aunt and decided just for kicks to install the notification system with it too. It all worked without even a single hiccup. The only difference was I setup her system manually, and had complete access to the database. My blog I didn’t have database access to, but after a few exports, and imports I do now!
When I go into the manage tab and attempt to administrer addresses, I get the following:
Could not successfully run query (SELECT * FROM wp_email_list WHERE gets_mail = 1) from DB: No database selected
When I look inside the DB, the table definitely exists within the wordpress db, and this is the db indicated in the config file.
Any ideas?
I am using WordPress Email Notification Plugin v2.3.1. I have seen a couple others with this problem as well and so far no one has been able to help solve it.
When I create a post, if there is more than one space in between letters, words, punctuation when the post is emailed to the list of subscribers, they will see questions marks where the spaces are. Since putting two spaces after a period is standard practice, every sentence ends with a period and a question mark.
Any help with this would be greatly appreicated.
Hi Folks, can someone help me please ?
This was working fine but I haven’t posted a new message for a few months and when I posted a message just now and selected ‘Yes’ to send it to subscribers, I got the error below. Can anyone help? Thanks.
==
Warning: mail(): Could not execute mail delivery program ‘/usr/sbin/sendmail -t -i’ in /home/myaccount/public_html/wp-content/plugins/wp-email-notification/email_notification_2.3.1.php on line 338
Warning: mail(): Could not execute mail delivery program ‘/usr/sbin/sendmail -t -i’ in /home/myaccount/public_html/wp-content/plugins/wp-email-notification/email_notification_2.3.1.php on line 338
Warning: Cannot modify header information – headers already sent by (output started at /home/myaccount/public_html/wp-content/plugins/wp-email-notification/email_notification_2.3.1.php:338) in /home/rrstatus/public_html/wp-admin/post.php on line 60
==
I am having the same trouble as lowenhar.
When I try to update the setting for this pluging, I get this error message:
***
Could not successfully run query (SELECT * FROM wp_email_list_config WHERE id = ‘1’) from DB: No Database Selected
***It seems I’m not alone with this problem, but I haven’t seen a solution. I have the plugin configured to use the same database as WordPress, with the same id and password. WordPress works fine otherwise.
Can anyone help?
- The topic ‘WordPress Email Notification Plugin v2.3.1’ is closed to new replies.