-
Notifications
You must be signed in to change notification settings - Fork 492
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
As a Dataverse user, I want automated emails to include contact info so I can reach out for more info. #4541
Comments
Spoke with @scolapasta and @djbrooke about this. We'd like to include text at the end of every automated email that dynamically includes the contact email address of the installation sending out the email. In a new paragraph after the main body of the email, the message could read:
or, if we want it to be more general:
|
I just created pull request #4567 and dragged this issue to code review at https://waffle.io/IQSS/dataverse While I was in there, I noticed that we are signing the emails with the brand of the installation of Dataverse rather than the support email name. For example https://dataverse.lib.virginia.edu uses a support team name of "Libra Data Support": So while we are in this part of the code, we could change the closing from
to
I think having the email come from a support team (Libra Data Support) sounds friendlier than having it come from the brand of the installation (Libra Data) but I didn't want to make this change without talking about it first. I did go ahead and leave a comment in the code about this. |
I chatted with @mheppler after standup and he likes the idea of using the support team name (i.e. "Libra Data Support") in the closing so I'll work on that. We also decided that whatever appears in the "from" such as "Harvard Dataverse Support" (this is the support team name) should match what's in the closing. This would be more consistent. As of last summer, this wasn't consistent: |
Ok, in a0740c9 I made the "from" and signature consistent. They are now both the support team name. In the example below I set the support team name using the example from http://guides.dataverse.org/en/4.8.6/installation/config.html#systememail ...
... then I generated a welcome message. Note in the screenshots below that you now see "LibraScholar SWAT Team" in both the "from" and the closing: (To make this example a little more real I probably should have changed the name of my root dataverse from "Root" to "LibraScholar".) While I'm uploading screenshots I'll say that we could refactor this part of the code base if we want to increase our code coverage. All the red lines below are not tested by JUnit: |
Meh, I took a quick swing at refactoring this code but it's a little hairy and makes this issue no longer a "1" so I'm stepping away. @mheppler stopped by and we discussed how technically we could just add "or just reply to this email" since the email comes from the support address. I'll leave the wordsmithing to others. The code is now dynamic and included the support team's name and email address so if someone wants to adjust the wording it's just a matter of playing with |
While looking to compare emails for this issue and issue #1916, @kcondon set up dvn-build with the Test case for replication...
|
Testing on demo (v. 4.8.6 build 146-874a944) and confirmed email for publishing a dataset work as expected, email sent via the contact btn on dataverse pg never appeared in the contact's mailinator inbox. |
@mhepppler are you sure that the email is being set in the contact email metadata field? The form isn't sent to a user by role but by what's in that field. |
@scolapasta the required/pre-filled contact fields are correctly set for both the dataverse and dataset. Also, sat with @djbrooke and confirmed that this contact btn bugginess is not on production (v. 4.8.6 build 146-874a944) -- which I guess suggests it could be a set up issue since it's the same build as demo...?? |
OK tested the automatic emails and also confirmed they are working so this ticket should be closable. The other issue, contact dv owner, is preexisting and likely a config issue involving email servers not wanting to forward email with a from address not in email server domain. Merging this issue and other issue should be worked on separately. |
include support email in closing #4541
Phew! I'm glad things aren't horribly broken. I would have been surprised if they were! |
The email issues that I found on dvn-build and demo could be explained by existing issues. If not, we can create a new issue to resolve them.
|
Currently, automated emails from Dataverse do not include contact information. Let's automatically include this info in all automated emails, so users can know who to reach out to if they're confused, if they received the message in error, or if they just want more information.
This issue was inspired by Gary's recent report in our Slack:
[...]
Here's the example screenshot he included, showing an automated Dataverse email as it looks currently:
The text was updated successfully, but these errors were encountered: