Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/07/2016 09:26:16 PM (6 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

File:
1 edited

Legend:

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

    r10635 r10639  
    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.