Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

  • nilay89
    Participant

    @nilay89

    Any Solution For this?


    nilay89
    Participant

    @nilay89

    Sorry I am not getting well

    You must have a plugin that affects how WordPress delivers email.

    Are you talking about any plugin for email? If yes, I am not using any plugin for send mail but I am using SMPT mail with override wordpress “phpmailer_init” function

    See below function

    add_action( 'phpmailer_init', 'wpse8170_phpmailer_init' );
    
    function wpse8170_phpmailer_init( PHPMailer $phpmailer ) {
        $phpmailer->Host = 'smtp.gmail.com';
        $phpmailer->Port = xxx; // could be different
        $phpmailer->Username = 'xxx@gmail.com'; // if required
        $phpmailer->Password = 'xxx'; // if required
        $phpmailer->SMTPAuth = true; // if required
        $phpmailer->SMTPSecure = 'tls'; // enable if required, 'tls' is another possible value
    
        $phpmailer->IsSMTP();
    } 

    nilay89
    Participant

    @nilay89

    Solved using below code and set condition

    $current_u= bp_loggedin_user_id();
    $display_u=bp_displayed_user_id();

    nilay89
    Participant

    @nilay89

    Solved


    nilay89
    Participant

    @nilay89

    any idea?


    nilay89
    Participant

    @nilay89

    yes it’s working

    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
Skip to toolbar