Active
Project:
Mass Contact
Version:
7.x-1.x-dev
Component:
Categories
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2012 at 19:21 UTC
Updated:
2 Feb 2012 at 15:18 UTC
Jump to comment: Most recent
Comments
Comment #1
oadaeh commentedThat additional email field is there as a result of some other contrib module. As there is no defined way of adding email addresses to accounts, I would need to know the module in use and then investigate how it adds the address to the user account. Then I would have to create code for looking for the address, adding it(them) to the list of options, adding an admin UI for allowing it to happen, and incorporate the address(es) into the sending process. It's probably not a terribly difficult process, but it would be long and drawn out. It's also probably something that would be done as a ctools plugin (which was added here: #144343: Alternate user grouping methods? . . .) to make it modular and require less mucking with the main module.
This is probably also related to #213918: do not force sender to rely on categories, #591982: Free selectable recipients, and/or #1235858: Individual Users although it would require slightly different code than those.
Comment #2
sphankin commentedHi oadaeh,
Thanks for the extremely fast response! When a user creates an account, they fill in two parts of a registration. They add their main email address under the normal account (using logintoboggan) and that is then used to send emails to from mass contact. When the also fill in the registration page, the Profile2 module also asks for additional information, such as an additional email address. This is then stored in their 'Profile' and added manually to our email address book. (eg a member can have a personal and work email)
Don't worry if it's going to be complicated, I'm sure I can find another solution (or maybe my users should be happy they at least receive one email!) I will have a look at CTools and have a read. Thanks for the tip.
Thanks for a great module!
Comment #3
oadaeh commentedAnd now a not so fast response. :^)
That field is actually provided by Drupal core and not the LoginToboggan contrib module.
That makes the problem even more challenging in that the second email address field you have is a custom difined one. I can't go to some module's code, see how and where they are adding it and then make use of it. Because it is a custom defined field, it could be called anything. What I would probably have to do, in order to provide you your desired functionality, is to display a list of all available fields on the site and allow you to select which ever ones you wanted to utilize. It might not be too terribly involved, and might provide for some interesting interaction with Drupal 7, but it's also not currently on my radar.
You are welcome.
Comment #4
tjtj commentedI too have a need for this feature. Making a second account for each address is not a good option. Selecting the additional field(s) to include on the mailing list would be the right way to do this.