Hi,
currently, the user who uses the send feature, can select the mail addresses with the view, push the "send mail" button and configure the content of the mail. This works great. But: why has a "normal" user to select a field for the username and the mail address. A "normal" user has no idea what this mean. I would prefer to make this selection in the view already.
If I open the configuration of the "Global: Send Mail" field in the view, there are lots of checkboxes that have nothing to do with sending the mail?! Here I would expect the definition of the field with the username and mal address.
Regards,
Oliver
Comment | File | Size | Author |
---|---|---|---|
2017-05-17_16h00_06.png | 33.09 KB | oschuetze | |
2017-05-17_14h24_55.png | 10.33 KB | oschuetze |
Comments
Comment #2
hansfn CreditAttribution: hansfn commentedI don't object to making the recipient name and mail optionally configurable in the view definition. However, I don't have much free time - patches welcome.
Some comments:
You also wrote
Please open a new issue for this if it annoys you. I haven't discovered yet how I hide all the cruft.
Comment #3
hansfn CreditAttribution: hansfn commentedComment #4
lomale@bluewin.ch CreditAttribution: lomale@bluewin.ch as a volunteer and commentedSorry if I come back to this.
I agree, that there are situations where selecting different names or email addresses can be useful and make sense.
But it would be great if this could be selected in the global configuration.
i.e.
no select for field username and mail address.
select a field for the username and the mail address
would this be possible to put as a new feature.
Thanks a lot.
Lothar
Comment #5
Will KirchheimerJust to bounce this around a little. I am tempted to try and implement the Global config version of this, any thoughts?
Seems like there are two ways to tackle it
1. "Global Send" field configuration in the view - each view has it's own values to configure
- Pros: avoids one-to-one limitations
- Cons: if you change something, you have go edit all your views
2. Universal values in the send views configuration, that override the existing functionality
Fields to add: Name, Email, "Override manual configuration when checked" box (maybe a few more, need to review form)
- Pros: single place to edit values
- Cons: one to one settings for whole site
With number #2, I am pretty sure I know how to implement it, and it does feel more simple.
With #1, I could see someone really wanting the ability to change the settings in the view, on a larger site... have "no-reply" as the source for some emails, and "help-desk" for others. I don't know how to implement the field selectors and what-not within the views fields configuration, so wouldn't be able to help on it.
I suppose, with the #1 check-box, the #2 views option could still be added later, just like a hierarchy;
- if global use it
- if view settings use it
- if neither then present options on the form
(or select option via an option set in the global settings)
Not sure if there are any "the drupal way" thoughts about having a config for email handling in a view... there are tons of things in views already.. doesn't seem like an issue?
(edit: just adding the fields I would think should be trimmed, if the module were to be able to provide a more-basic interface option)
Sender Name (text-field)
Sender Email (text-field)
Field used for recipient's name (select)
Field used for recipient's e-mail (select)
Disable attachments (this might be in permissions)
Disable attachments (this might be in permissions)
Priority (drop down)
Request receipt (check box)
Additional headers (text field)
"Send the message directly using the Batch API." (checkbox)
"Send a copy of the message to the sender." (checkbox)
"Remember these values for the next time a mass mail is sent." (checkbox)
More questionably:
Subject (text)
Text format (prob just fix that in permissions)
I know that seems like a lot, and maybe the alternate route is to build up a lower auth level module.. but, it is just a few fields in a way?