Project

General

Profile

Actions

Bug #5440

closed

New account notification email question

Added by Matt Gold about 8 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority name:
Normal
Assignee:
Category name:
-
Target version:
-
Start date:
2016-04-12
Due date:
% Done:

0%

Estimated time:
Deployment actions:

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

old-typical-notification.png (82.4 KB) old-typical-notification.png Matt Gold, 2016-04-12 03:52 PM
new-LAG-notification.png (36.1 KB) new-LAG-notification.png Matt Gold, 2016-04-12 03:52 PM
Actions #1

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?

Actions #2

Updated by Matt Gold about 8 years ago

Any possibility that the change could be related to this recent ticket?

https://redmine.gc.cuny.edu/issues/5222

Actions #3

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?

Actions #4

Updated by Matt Gold about 8 years ago

Fine with me to leave as is and I haven't noticed recurrences of this issue.

Actions #5

Updated by Boone Gorges almost 8 years ago

  • Status changed from Assigned to Rejected

Gracias, tout le monde.

Actions

Also available in: Atom PDF