For anyone running into emailing notification issues…
-
Wasn’t getting email notifications when a message was sent to inbox. Found in send-page.php (plugins/pm4wp/inc/send-page.php) the following code…
$recipient_email = $wpdb->get_var( "SELECT user_email from $wpdb->users WHERE display_name = '$rec'" );
…on line 120 needed to be changed with…
$recipient_email = $wpdb->get_var( "SELECT user_email from $wpdb->users WHERE user_login = '$rec'" );
…as it was trying to pull with username, not display name. Hope this helps anyone running into the same issue.
- The topic ‘For anyone running into emailing notification issues…’ is closed to new replies.