Skip to:
Content

BuddyPress.org

Changeset 10640


Ignore:
Timestamp:
03/07/2016 09:28:40 PM (9 years ago)
Author:
djpaul
Message:

Emails: when configuring PHPMailer, don't set Sender property.

This change matches our implementation to be more similar to WordPress'.
Testing has proven this change to fix email deliverability for, at least, certain major web hosts.

Fixes #6947 (branch 2.5)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/src/bp-core/classes/class-bp-phpmailer.php

    r10636 r10640  
    7676        $recipient = $email->get_from();
    7777        try {
    78             $phpmailer->SetFrom( $recipient->get_address(), $recipient->get_name() );
     78            $phpmailer->SetFrom( $recipient->get_address(), $recipient->get_name(), false );
    7979        } catch ( phpmailerException $e ) {
    8080        }
Note: See TracChangeset for help on using the changeset viewer.