WordPress.org

Ready to get started?Download WordPress

Forums

Private Messages For WordPress
[resolved] Doesn't send emails on new message? [FIXED] (3 posts)

  1. seand11
    Member
    Posted 2 years ago #

    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/

  2. ssamik
    Member
    Posted 1 year ago #

    In witch file did you do this change? I can't find a file with that many lines..

  3. Marin Marusic
    Member
    Posted 1 year ago #

    /wp-content/plugins/inc/send-page.php line 120

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic