WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Private Messages For WordPress] Doesn't send emails on new message? [FIXED]

[Resolved] [Plugin: Private Messages For WordPress] Doesn't send emails on new message? [FIXED]

  • The plugin is working wonderfully, but mail was not being sent when sending new private messages.

    I changed line 410 from:
    $recipient_email = $wpdb->get_var( "SELECT user_email from $wpdb->users WHERE display_name = '$rec'" );

    to
    $recipient_email = $wpdb->get_var( "SELECT user_email from $wpdb->users WHERE user_login = '$rec' LIMIT 1" );

    and now it’s working properly.

    http://wordpress.org/extend/plugins/private-messages-for-wordpress/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Private Messages For WordPress] Doesn't send emails on new message? [FIXED]’ is closed to new replies.