#6376 closed defect (bug) (no action required)
Wrong mailer in BP
Reported by: | Roxpace | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.1 |
Component: | Core | Keywords: | |
Cc: |
Description
Seems to be using wrong mailer for good compatibility, BP seems to use mail instead of wp_mail
In file functions.bb-pluggable.php there is this code :
$bb_phpmailer->IsMail();
And then in class.mailer.php:
function IsMail() {
$this->Mailer = 'mail';
}
This cause a lot of troubles for many client sites which is using alternative mailers through wp_mail so for example user registration verification email never are sent away.
Change History (4)
#1
@
9 years ago
- Component changed from Component - Core to Component - Forums
- Milestone Awaiting Review deleted
- Owner set to johnjamesjacoby
- Status changed from new to reviewing
- Version changed from 2.2.2 to 1.1
#3
follow-up:
↓ 4
@
9 years ago
- Component changed from Component - Forums to Component - Core
Of course it can cause problems since it is doing now, we are a few who has came to the same conclusion with old upgraded BP sites. Why the version change from 2.2.2 to 1.1?
And I can not find the file functions.bb-pluggable.php in the BackTrac as you suggested with the related code!
#4
in reply to:
↑ 3
@
9 years ago
Replying to Roxpace:
Of course it can cause problems since it is doing now, we are a few who has came to the same conclusion with old upgraded BP sites.
Old versions of BuddyPress, sure, but they would be almost 5 years untouched at this point. Current versions of BuddyPress and bbPress will not exhibit this behavior.
Why the version change from 2.2.2 to 1.1?
Because version 1.1 is when bbPress 1.x was included into BuddyPress.
And I can not find the file functions.bb-pluggable.php in the BackTrac as you suggested with the related code!
The file is part of bbPress 1.x, but the PHPMailer implementation would come from BackPress.
This cannot cause any problems, as BuddyPress has not executed any BackPress code in years. Those libraries are simply packaged for backwards compatibility with very old versions of bbPress.
If anything, this could maybe be updated in BackPress, but is of a very low priority. If you'd like to report this there, open a new ticket at: backpress.trac.wordpress.org