Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update organization affiliation change email #1180

Merged
merged 3 commits into from
Dec 10, 2019

Conversation

jtpalmer
Copy link
Contributor

@jtpalmer jtpalmer commented Dec 10, 2019

Description

Change the text of the organization affiliation change user notification email, the contact email address used in the message, and the reply-to address.

Motivation and Context

I'm not sure what is the best contact email to use in this email, but it's definitely not the "sender" email, which in our case is a "do-not-reply" email address. I think the contact page email makes sense, but there is also an argument for using the technical support email address. We use the same email address for both so it doesn't make any difference to us.

I've also removed a blank line, and replaced "@" with "at" since using "@" is an unnecessary abbreviation.

Tests performed

No tests.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@@ -2522,7 +2522,7 @@ public function synchronizeOrganization()
'body' => sprintf(
self::USER_NOTIFICATION_EMAIL,
$this->getFormalName(),
\xd_utilities\getConfiguration('mailer', 'sender_email')
\xd_utilities\getConfiguration('general', 'contact_page_recipient')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest setting the replyAddress to \xd_utilities\getConfiguration('general', 'contact_page_recipient') so that if the user replys to the email it goes to the correct place.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpwhite4 I've added the replyTo. Should the body of the email even contain the address given this change?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd leave the email address in the body too. It doesn't hurt to provide redundant info.

@jpwhite4 jpwhite4 added this to the 9.0.0 milestone Dec 10, 2019
@jtpalmer jtpalmer merged commit d1d76a7 into ubccr:xdmod9.0 Dec 10, 2019
@jtpalmer jtpalmer deleted the org-update-email branch December 10, 2019 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes Category:General General
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants