Bug #5440
closedNew account notification email question
0%
Description
An email I received notifying me of the creation of a new CAC account had a different format from what I usually see -- the from line was from LaGuardia Center for Teaching and Learning
Please see screenshots attached -- of a more typical notification I'd received in the past and this one
Any idea what is going on?
Files
Updated by Boone Gorges about 8 years ago
- Assignee changed from Boone Gorges to Raymond Hoh
Ray, any idea what's up here? I just checked, and WP Better Emails appears to be working fine for BP emails and for emails in general. Maybe Matt's client is looking for plaintext for some reason?
Updated by Matt Gold about 8 years ago
Any possibility that the change could be related to this recent ticket?
Updated by Raymond Hoh about 8 years ago
There are two different things happening here.
First one is HTML email not being used for the "New User" email notification.
I'm guessing that a new user was added from the LaGuardia site via:https://laguardiactl.commons.gc.cuny.edu/wp-admin/user-new.php
Can someone confirm if a LG admin did try to add a new user in this manner?
Since WP Better Emails is not activated on the LG site or network-wide, the email would be sent in plain-text.
About the second issue regarding the email's "From" name, BuddyPress 2.5 removed its older WP mail 'From' filter:
https://buddypress.trac.wordpress.org/changeset/10499
This probably affected the email "From" name when used on sub-sites like LaGuardia.
We could bring back the filter:
add_filter( 'wp_mail_from_name', 'bp_core_email_from_name_filter' );
But bp_core_email_from_name_filter()
is deprecated.
Update: I'm wrong. We already disable BP's "From" filter on all sites except the root site with cac_mail_from_name_bypass()
. See #2152. So BP 2.5's "From" email filter removal doesn't affect us.
However, I actually like that the "From" name displays the site that is initiating the "New User" email. It helps for debugging purposes.
Do we want to do anything here?
Updated by Matt Gold about 8 years ago
Fine with me to leave as is and I haven't noticed recurrences of this issue.
Updated by Boone Gorges about 8 years ago
- Status changed from Assigned to Rejected
Gracias, tout le monde.