Problem/Motivation
Currently all system mail is sent from the address configured on the 'admin/config/system/site-information' page. It is not possible at the moment to choose another address for sending the welcome/activation/block/cancel e-mails.
Proposed resolution
- Attached patch in #9 creates a new configuration field on the 'admin/config/people/accounts' page on top of the e-mail templates form.
- It also changes the drupal_mail() function a bit, to check if this field is used and uses the value if available if sending a 'notification'.
Remaining tasks
- (novice) document steps to test/reproduce (how to: http://drupal.org/node/1468198)
- (novice) manual testing (how to: http://drupal.org/node/1489010)
- (novice) before and after screenshot of the config page
- (novice) check coding standards and documentation (how to: http://drupal.org/node/1487976)
- Are tests appropriate? (how to: http://drupal.org/node/1468170)
- Add a check to the _validate() function to check if a correct e-mail is submitted.
User interface changes
- 1 new field on 'admin/config/people/accounts'.
API changes
- 1 new variable and a small change to drupal_mail().
Original report by mcrittenden
Currently, when a new user registers and registration requires admin approval, an email is sent to the site email for notification. Here's the line (line 2633 of user.module in current HEAD)
drupal_mail('user', 'register_pending_approval_admin', variable_get('site_mail', ini_get('sendmail_from')), language_default(), $params);
This email address needs to be customizable. In many cases, the admin that needs this email isn't the same as the email used for the site. A good site email is often something like no-reply@example.com or support@example.com while the person who needs to receive the email is often something like msmith@example.com. Also, it's fairly common for clients to want multiple recipients of this email, which is currently impossible since the 'site_mail' variable only allows for one address. The User settings page (admin/user/settings) would be a perfect place for this.
Also, this is an often point of confusion since the description of "Site Email Address" includes nothing about that email actually being sent TO; it only mentions being used as a from address. Here's that description:
The From address in automated e-mails sent during registration and new password requests, and other notifications. (Use an address ending in your site's domain to help prevent this e-mail being flagged as spam.)
I think just a Notification Email Address text input on the User Settings is all that's needed here.
Comment | File | Size | Author |
---|---|---|---|
#91 | 494518-91.patch | 5.48 KB | aerozeppelin |
#91 | interdiff-494518-84-91.txt | 5.03 KB | aerozeppelin |
#84 | 494518-84.patch | 5.59 KB | aerozeppelin |
#63 | drupal-custom_notification_sender_address-494518-test.patch | 2.61 KB | douglasmiller |
#63 | drupal-custom_notification_sender_address-494518-63.patch | 5.56 KB | douglasmiller |
Comments
Comment #1
mcrittenden CreditAttribution: mcrittenden commentedCouple tags.
Comment #2
william.baucom CreditAttribution: william.baucom commentedI second this need.
I'm currently creating a site with two administrators who need to receive this email. If nothing else, the documentation on this problem needs to be made more clear. I spent close to an hour googling around for a solution.
Comment #3
mcrittenden CreditAttribution: mcrittenden commentedComment #4
asak CreditAttribution: asak commented+1
I was just asked by a client "who gets the registration notification emails?" and said something like "i'm assuming the user with the user management permissions, i can't imagine it would be the SITE'S EMAIL..."
And... what do you know... ;)
I second this idea. Current settings make very little (if any) sense.
Comment #5
MBroberg CreditAttribution: MBroberg commentedI agree. The site email might be useful as a default for some cases but in many cases the site email might be only a "from" email, having the ability to choose how it is used is a good idea.
This module allows customization of user registration notification...
http://drupal.org/project/user_register_notify
Having a list of places where emails should go might be a nice addition to core.
Comment #6
generalelektrix CreditAttribution: generalelektrix commented+1
I need to forward registration approval to someone else. Would be really great to be able to forward those to another email address than the one given to site's admin.
Comment #7
Peng.Pif CreditAttribution: Peng.Pif commented+ 1 for this need.
Subscribing.
Comment #8
mcrittenden CreditAttribution: mcrittenden commentedComment #9
Rob C CreditAttribution: Rob C commentedOffers an option on the 'admin/config/people/accounts' page where you can input an e-mail address. This address, if available, overrides the site mail address in drupal_mail().
Comment #10
YesCT CreditAttribution: YesCT commentedadding tags and updating issue summary with which tasks are novice
Comment #10.0
YesCT CreditAttribution: YesCT commentedUpdated the issue to current state, added markup.
Comment #11
dags CreditAttribution: dags commentedComment #12
dags CreditAttribution: dags commentedThe current issue summary describes a slightly different problem from the one originally reported by mcrittenden. The original report suggested that admins should be allowed to specify which email address(es) receive notifications when a user registers for an account and the "Require e-mail verification when a visitor creates an account." option is enabled on the admin/config/people/accounts page.
The patch in #9 adds an extra field on that same page and when it's filled out that value is used in the FROM address on emails automatically sent out by the system. This may be desirable behavior but it's not the same problem that mcrittenden was trying to solve.
Comment #13
a_thakur CreditAttribution: a_thakur commentedNot able to apply the patch to user.admin.inc file. Please find the attached Screenshot.
Comment #14
a_thakur CreditAttribution: a_thakur commentedPlease find a new patch. The patch in #9 does not seem to work.
Comment #15
edrupal CreditAttribution: edrupal commentedSteps to test
Comment #16
edrupal CreditAttribution: edrupal commentedBefore and After screenshots of account settings page (admin/config/people/accounts)
Before patch applied
After patch applied
Comment #17
leandro713 CreditAttribution: leandro713 commentedtried patch #9 and worked for me as expected
tried patch #14 and git wont apply it
Comment #18
edrupal CreditAttribution: edrupal commentedDid you try to apply the patch to the latest version of 8.x-dev?
Comment #19
leandro713 CreditAttribution: leandro713 commentedyes, sir. i updated my git repo just before apply the patches
patch in #9 worked well
patch in #13 wasnt applied by git
i can send you the logs afterwards if you want them.
i can repeat all the process this afternoon, now i havent time
Comment #20
YesCT CreditAttribution: YesCT commented#14: 494518-custom-approval-email-12.patch queued for re-testing.
Comment #21
edrupal CreditAttribution: edrupal commentedWhen testing, I found the additional user setting 'notify: register_pending_approval_admin' was required to trigger the new site email to be used. (Required by the change to mail.inc in the patch from #14). Rather than make this change to issue 1804926 - Convert register_pending_approval_admin to config/state system I've created a different patch that moves the functionality from mail.inc to user.module.
Additionally this patch causes the new user registration notification email to be sent to the admin email address entered on the account settings screen if present, as per the original requirement.
N.B. This change also sets the 'from' email address to the admin email address entered on the account settings screen for emails sent for other operations that require notification
Comment #23
edrupal CreditAttribution: edrupal commentedPatch corrected (hopefully)
Comment #24
leandro713 CreditAttribution: leandro713 commented#23 patch worked for me on a fresh git checkout
[#9 patch works also]
i lack of the knowledge to decide technically between both
Comment #25
disasm CreditAttribution: disasm commentedComment #26
edrupal CreditAttribution: edrupal commentedPatch in #23 has been updated to improve the help text associated with the new email address field, so it more accurately reflects what the new field does.
Comment #27
marcingy CreditAttribution: marcingy commentedAdding tag
Comment #28
edrupal CreditAttribution: edrupal commentedPatch in #26 updated to add validation to the new email address field.
Comment #29
YesCT CreditAttribution: YesCT commentedI know these patches are small... but interdiffs are fun! :) (and helpful good habits)
http://drupal.org/node/1488712
Comment #30
edrupal CreditAttribution: edrupal commentedThanks for the great feedback from YesCT. I've re-uploaded the patch in #28 along with my first attempt at an interdiff. Every day's a school day :-)
Mery Xmas all
Comment #31
bdone CreditAttribution: bdone commentedtested that patch in #30 applies and works as advertised. leaving status as it is though, as i'm not sure what all it affects.
Comment #32
YesCT CreditAttribution: YesCT commented@bdone thanks for manually testing. you are right to not set it to rtbc until a code review and other concerns are addressed (like needing tests)
---
this needs to go through t() like other descriptions in this file.
http://api.drupal.org/api/drupal/core%21includes%21bootstrap.inc/functio...
something like:
Comments need to wrap at 80 chars.
http://drupal.org/coding-standards/docs#general
since the site default mail address is 'mail' I think 'mail_notification' makes more sense.
This comment is incorrectly combined with the idea of a site default mail address.
The comment needs to stay, but perhaps in a better location.
It's strange that the notification email is used as the from in the email to the user without checking if it's empty,
and then later when it's used as the "to" address, then it checks if it's empty, uses the site default, and then if thats empty another... default.
it works though, because I think if the from is NULL then it defaults to the default.
but if the "to" is not set... there is no default "to" :)
I moved the code to check for if it's empty to before it's used as the from anyway, since that seemed to make more sense logically.
if there is a good reason to keep it only when sending "to" I'm totally fine with it being moved back in the other location.
patch attached.
---
for testing, make sure to delete config (sudo rm -r sites; git checkout sites;) before reinstalling to clear the config.
also, be sure to test before setting a notification mail and after a notification mail is set.
I saw that the admin message (for a account creation request) both before and after this patch is blank. so that is not a problem with this patch. that needs a follow-up issue (I could not find an existing issue.)
this needs tests for if a notification mail is specified (See Contributor Task: Write tests http://drupal.org/node/1468170)
updated screenshot showing the helptext that shows the current site default address.
Comment #33
YesCT CreditAttribution: YesCT commentedmaybe the @edrupal mentioned in #21 (#1804926: Convert register_pending_approval_admin email to config system and provide the ability to configure it in UI.) will address the concern of the empty admin email? that issue needs a reroll.
Comment #35
YesCT CreditAttribution: YesCT commented#32: drupal-custom_notification_sender_address-494518-32.patch queued for re-testing.
Comment #36
douglasmiller CreditAttribution: douglasmiller commentedThe steps listed in #15 are still mostly accurate. The only differences are which patches to apply. The non-patch related steps are still valid.
I also had to reroll the patch in #32
Updated steps to test
Comment #37
dags CreditAttribution: dags commentedOops... forgot to unassign this from myself.
Comment #38
douglasmiller CreditAttribution: douglasmiller commentedI've created a new test for verifying this functionality.
Comment #39
YesCT CreditAttribution: YesCT commented@c4doug Thanks for writing these tests. Do you have any thoughts about if this needed, too much testing, or just right?
There are extra blank lines in there that need to be taken out (like where there are 3 in a row, and the one after the function start maybe... need to check the standards).
The one line comments are good, but need to be complete sentences that end in a period.
Check this for general recommendations on comment standards:
http://drupal.org/node/1354
This for coding standards:
http://drupal.org/coding-standards
And this one for specifics about tests (it needs updating though)
http://drupal.org/node/325974
Comment #40
douglasmiller CreditAttribution: douglasmiller commentedI think that this is something that should be tested.
The test that I wrote validates two components:
I think that the first validation is beneficial because it prevents accidental removal of the configuration option.
The second validation is beneficial because it ensures that new user account notifications are being recieved by the expected admin. Without testing, this could be inadvertently removed and a Drupal admin may stop receiving new account emails as a result.
I've corrected the whitespace issues, completed any incomplete sentences in the commets, and fixed what coding standard violations I observed.
I've also adjsuted the configuration field assertation to use assertRaw checking for the id of the input field as I think that 'E-mail address' is too generic a string to look for. Additionally, I think that 'E-mail address' is not a descriptive enough label and would suggest changing it to 'Notification e-mail address' or something similar.
This case also mentions having the ability to specify multiple admin e-mail addresses. I do not think that this functionality is present in the current patch nor do I think it is possible without a more significant and robust modification to the existing behavior.
Supporting multiple admin notification e-mail addresses would require determining which address to use as the sending address on the notification that is sent to the user.
This could be assumed to be the first listed address, but that seems like it would be confusing to the non-developer admin. Additionally, the benefit of having the notification e-mail address be used as the sender of the user message is that the user can reply to the message. If only one of many addresses is used as the sender, then the other admin's would not receive the user's reply. The only way that I see around this issue is to use cc: for the other admin addresses, but that doesn't prevent the user from clicking reply instead of reply all.
Comment #41
douglasmiller CreditAttribution: douglasmiller commentedInterdiff for previous post
Comment #42
YesCT CreditAttribution: YesCT commented@c4doug The changes look good.
Note that your interdiff is ... backwards. It shows adding the lines you deleted. But I go the meaning from it anyway.
For next time, be in the most recent branch and diff to the older.
For example if I:
git checkout 8.x
git pull --rebase
git branch notify
git apply --index drupal-whatever_the_issue-NNNN-X.patch
git commit -m "previous patch"
make my changes
then I can:
git diff > interdiff-X-Y.txt
git diff 8.x > drupal-whatever_the_issue-NNNN-Y.patch
Or whatever workflow you like.
For more options:
http://drupal.org/node/1488712
http://xjm.drupalgardens.com/blog/interdiffs-how-make-them-and-why-they-...
Comment #43
douglasmiller CreditAttribution: douglasmiller commentedI created an issue/494518 branch and had already committed the test and the updated version.
I ran:
git diff HEAD..HEAD~1
where I should have run
git diff HEAD~1..HEAD
I am attaching the corrected version of the interdiff for the benfit of others
Comment #44
YesCT CreditAttribution: YesCT commented@c4doug I agree this is just adding one address (an alternative one diff than the default admin).
Please update the issue summary to reflect that.
I dont know if that needs a separate issue or if we just wont worry about it.
I agree also that the label on the field could be more specific.
Next steps:
improve the label on the field (needs work for that)
post a combined patch with that change and the tests (can post an interdiff then to 36)
and a test only patch (I know you just did, but it's just the way.)
then a review.
Thanks for progress on this everyone!
Comment #45
douglasmiller CreditAttribution: douglasmiller commentedReverting the issue summary to indicate that only one notification email address can be specified.
Adjusted the admin config label to be more descriptive.
Attached is a new patch for the issue with the corresponding interdiff from #36 and the previously attached test patch, which remains unchanged.
Comment #46
star-szrOne other thing - the comments should be wrapped at 80 characters per http://drupal.org/node/1354. Thanks for all your work on this @c4doug!
Comment #47
douglasmiller CreditAttribution: douglasmiller commentedchanging to needs review
Comment #48
star-szrCrosspost.
Comment #49
YesCT CreditAttribution: YesCT commentedThere may be other places also, but the comments should just refer to one notification address, not address(es).
Also, I wanted to clarify, that the standards allow adding blank lines to separate code blocks. (just not multiple ones in a row)
Sometimes newlines are specifically allowed or not. Like at the beginning and ending of a class, or after ... well, sometimes I just search for "blank" in the standards.)
Comment #50
YesCT CreditAttribution: YesCT commentedOh, and the patch is what a core committer will commit, so that needs to have the fix, and also the tests.
So its common to have:
patch (the fix and the tests)
interdiff (to the last time the patch was posted)
tests only (so the testbot can show that the tests are testing for what the tests are testing for)
Comment #51
YesCT CreditAttribution: YesCT commentedack! crosspost central. :)
Comment #52
douglasmiller CreditAttribution: douglasmiller commentedWow, the crossposting is in full form!
Okay, I've attached the following:
Thanks for all the patience!
Comment #54
douglasmiller CreditAttribution: douglasmiller commentedrerolling
Comment #55
YesCT CreditAttribution: YesCT commentedOH! I have slightly missled you in that the just tests should be attached first.
That way it will fail, d.o will mark it needs work,
then the second patch, with the fix and patch will pass and d.o will leave it needs review since that patch will pass.
Comment #57
douglasmiller CreditAttribution: douglasmiller commented@YesCT: Thanks for the heads-up on how to trick d.o.
I only rerolled the changes that were generated by this issue and did not apply the patch from Convert register_pending_approval_admin email to config system. As a result, no email is sent to the admin and the test fails.
I'm glad to see that the tests work as designed!
Comment #58
edrupal CreditAttribution: edrupal commentedI see @c4doug has included all the changes from the latest patch in #1804926: Convert register_pending_approval_admin email to config system and provide the ability to configure it in UI. into the patch in #57.
Is the correct process to add a comment to #1804926: Convert register_pending_approval_admin email to config system and provide the ability to configure it in UI. as being included in this issue, and to mark it as closed? (Just trying to learn the correct process)
Comment #59
YesCT CreditAttribution: YesCT commentedProbably the other issue, which is RTBC, will get committed, and then we will reroll this to take out the duplication. Then this can get committed.
Having the other patch in this issue makes it easy to use the testbot.
What is usually done? Well.. Sometimes, this would be marked postponed on the other... But it's actually useful in this case to use the time to keep working on this issue.
Next steps here: review to get this as ready as possible while we wait.
Comment #60
YesCT CreditAttribution: YesCT commentedOh @edrupal a side note/tip: you can use the pattern [#NNNNNNN] and use the node number is an issue, and d.o will make it a link to the issue, get the title automatically, and color it based on its status (like light green for RTBC). There is a hint in the help text below the comment text area that remind of the syntax. :)
Comment #61
edrupal CreditAttribution: edrupal commentedCool, better than a David Blaine slight of hand :-)
Comment #62
YesCT CreditAttribution: YesCT commented#1804926: Convert register_pending_approval_admin email to config system and provide the ability to configure it in UI. got in.
Comment #63
douglasmiller CreditAttribution: douglasmiller commentedRerolling patch in #56
Comment #64
YesCT CreditAttribution: YesCT commented#63: drupal-custom_notification_sender_address-494518-63.patch queued for re-testing.
Comment #65
trpurcell CreditAttribution: trpurcell commenteddrupalcon Sydney
Comment #65.0
trpurcell CreditAttribution: trpurcell commentedUpdated issue summary with remaining tasks to help new people.
Comment #65.1
jlscott CreditAttribution: jlscott commentedEdit issue summary - Sydney 2013
Comment #65.2
jlscott CreditAttribution: jlscott commentedUpdated issue summary.
Comment #66
trpurcell CreditAttribution: trpurcell commentedreadyman and trpurcell reviewed the patch as part of the code sprint at SydneyDrupalcon 2013
tested the function prior to applying the patch from comment #63
applied the patch and retested, creating new user, blocking user and cancelling account with email notification checked.
worked as documented
Comment #67
mitron CreditAttribution: mitron commentedThe tests and code look great.
The help text is a little hard to parse. It requires scrolling back to look at the field to understand. Perhaps something like the below might be easier to understand. Bold below to highlight change, not suggested for the actual help text.
The e-mail address to be used as the 'from' address for all notifications. If 'Who can register accounts? Visitors, but administrator approval is required' is selected above, a notification email will also be sent to this address for any new registrations. Leave empty to use the default system e-mail address (drupal8@example.com).
Comment #68
adammaloneCode works - which is good.
My only issues with the interface are that:
These issues can easily be fixed and are only cosmetic. As it is, I think the above patch is RTBC.
Comment #69
webchickI was initially a little bit skeptical about this, but the arguments at the start of this issue are pretty compelling. Particularly for the use case of site visitors needing approval, which is the default setting. If that's going to null@null.null, that's obviously un-good. :)
I made two changes prior to commit:
1) + function testNotificationEmailAddress() { didn't have any PHPdoc, so I added a line.
2) I found "The e-mail address to be used as the 'from' address for all notifications. " a bit confusing. It's not all notifications, it's all account-related notifications, or more specifically, the ones that are listed below. Changed to "...for all account notifications listed below."
Committed and pushed to 8.x. Thanks!
Comment #70
YesCT CreditAttribution: YesCT commentedawesome. @webchick, thanks for those additions
Comment #72
loopy1492 CreditAttribution: loopy1492 commentedFor those who are interested in a "quick fix" and don't want to go mucking about in Drupal 7 Core, I recommend the Rules module.
http://drupal.org/project/rules
Note, that if you want to use a token of a custom multiple-select field to set the Email, you'll have to adjust the custom display settings for Tokens. See this discussion for more info.
http://drupal.org/node/1781498
Comment #72.0
loopy1492 CreditAttribution: loopy1492 commentedUpdated issue summary.
Comment #73
Jaypan CreditAttribution: Jaypan commentedComment #74
benjifisherI am not sure that this issue needs a change record. I think it does. I am pretty sure that "Needs backport" should be a status, not an issue tag.
I am also not sure if this should be ported to D7. If you think it should, then wait for the change record, then convert the Category to "feature request".
Comment #75
Jaypan CreditAttribution: Jaypan commented1) That status doesn't exist
2) That tag has been used at other times for other issues that I've worked on - and backported to D7.
It should, as I needed this functionality on a D7 site the other day, which is why I changed the issue status.
I have no idea what a change report is, but there is no reason that we should put off backporting to D7 while waiting for it, that's just adding bureaucracy which slows things down. And as anyone who has worked on issues in Drupal knows, the bureaucracy is one of Drupal's biggest weaknesses.
Comment #76
outlierdavid CreditAttribution: outlierdavid commentedI'm with Jaypan on this one. It sounds like useful functionality to me. I may not always use it, but I think it'd be a shame if I had to install a contrib module to get this functionality specifically.
Comment #77
bigjim CreditAttribution: bigjim commentedI drafted a change record here https://drupal.org/node/2281541
Removed novice and needs change record tag, also set to needs review (per https://drupal.org/contributor-tasks/draft-change-record).
I'm note sure this is a Critical issue for D8, regardless of any discussion about backporting? Is this really a backport candidate, wouldn't that be a contrib as this is a new feature?
Comment #78
bigjim CreditAttribution: bigjim commentedMarked needs review for the change notice
Comment #79
benjifisher@Jaypan: Perhaps I should have suggested using the status "Patch (to be ported)" instead of the tag "Needs D7 backport". According to Needs D7 backport there are no other issues currently using this tag. After reading https://drupal.org/issue-tags/special I have added the tag "Needs backport to D7". Auto-complete is your friend.
Change records (not "change reports") are listed here: https://drupal.org/list-changes . Instructions for drafting them are at https://drupal.org/contributor-tasks/draft-change-record .
@bigjim: I believe that @xjm, at a previous sprint, said that all change records are considered critical. Thanks for taking on the task.
Comment #80
catchPublished the change record.
Issues get tagged 'Needs backport to D7' when they're filed against 8.x - it's a reminder that it should be backported once the 8.x fix has gone in.
Once it's fixed against 8.x, then it gets moved to 'to be ported' - can leave the tag on since that helps to identify backported issues vs. issues that are newly opened only against 7.x.
Not sure this actually get backported since it's a new feature and alterable in contrib, but moving there for now.
Comment #83
a_thakur CreditAttribution: a_thakur as a volunteer and at Srijan | A Material+ Company commentedComment #84
aerozeppelin CreditAttribution: aerozeppelin at California State University San Bernardino commentedPatch for D7.
Comment #86
joseph.olstadGreat work @aerozeppelin
after looking at the first test testbot errors, it appeared that they were unrelated to the patch.
So I kicked the testbot and the second test passes.
Congrats, your backport patch passes, and it looks good.
rtbc+1
Comment #87
rajneeshb CreditAttribution: rajneeshb at Srijan | A Material+ Company commentedI have applied patch(494518-84.patch) and tested. Its working fine.
Comment #88
joseph.olstadPatch 84 looks great. This backport is nicely refactored from the original D8 patch and the simpletest is passing and the expected functionality is working.
Comment #89
aerozeppelin CreditAttribution: aerozeppelin at California State University San Bernardino commentedThank you @joseph.olstad for taking the time reviewing my patch. I am glad it worked out.
Comment #90
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedThis looks like a very useful feature - thanks! But there are a few issues with the patch.
(minor) I think this should preserve the blank line above and below the new code, rather than removing it. It's not really related to the other code around it so it's good to have it visually separate.
Shouldn't this be namespaced to the User module (like most other variables on the form)? In other words, 'user_mail_notification_address'.
I realize some of this is an issue with the Drupal 8 form too, but:
"from"
).<em>
.<em>(%site-email).</em>
, the<em>
wrapper is unnecessary since the % placeholder already does that (so this is really just adding nested<em>
tags).variable_get('site_mail', ini_get('sendmail_from'))
since that's what is used elsewhere.It's cleaner to just check
if (!$site_mail)
.Also, why the two separate lines? Can't it just use a single
$site_mail = variable_get('site_mail', ini_get('sendmail_from'))
like the previous code did?(minor) This should be on one line, also "a" not "an". It could just be something like "Tests the user registration notification e-mail address."
Comment #91
aerozeppelin CreditAttribution: aerozeppelin at California State University San Bernardino commentedUpdate to patch based on comments in #90.
Comment #94
benjifisher@webchick Since you committed the patch, shouldn't the issue be marked Fixed?
Comment #95
petednz CreditAttribution: petednz commentedUnclear how this can be 'fixed' if the patch for D7 hasn't been committed - or has it transferred to a different issue?
Comment #96
MustangGB CreditAttribution: MustangGB commentedReviewed the interdiff based on #90, only minor discrepancy I saw was
(!($site_mail))
should be(!$site_mail)
, I guess it can be fixed on commit if needed, but otherwise looks good.Comment #97
joseph.olstadBumping to 7.70, this didn't make it into 7.60
Comment #98
poker10 CreditAttribution: poker10 at ActivIT s.r.o. commentedThe patch in #91 does not apply anymore, it needs to be rerolled.
In addition to the codestyle issue mentioned in #96 I found some others:
The text commited to the D8 was slightly changed, I think we should update this. Specifically add this part "for all account notifications listed below" instead of "for all notifications".
There are still comments using "email" rather than "e-mail" (see the comment from @David_Rothstein - #90/3).
There are still comments using "Notification E-mail" rather than uncapitalized version (see the comment from @David_Rothstein - #90/6).
I suggest that we open a new issue where the backport could be finished (according to the backport policy), because the patch still needs some work. Then we can close this for D8 as Fixed.
Also this was originally a Feature request (Task was set temporarily when the Change record was needed).
Comment #99
joseph.olstadNew patch on it's way
see
#3306690: D7 - Allow for custom user registration approval email address
Comment #100
poker10 CreditAttribution: poker10 at ActivIT s.r.o. commentedGreat, thanks! So we can close this.
Comment #102
claudiu.cristeaNo change record here :(
Comment #103
poker10 CreditAttribution: poker10 at ActivIT s.r.o. commentedAccording to the #77, this seems to be the change record for this issue: https://www.drupal.org/node/2281541. I am not sure why it is not linked here anymore.