Hi,
This is probably a noob question, but I can't work out how to add each individual username to the start of each email. I notice that by default you can add your own (the sender's) username by using [user-name] but I would like to know if I can add the recipient's username. I tried "!username" which works for the core email module, but that didn't work...
Thanks for your assistance. Great module!
Kate
Comments
Comment #1
markfoodyburton commentedsubscribing
Comment #2
oadaeh commentedIn order for Mass Contact to do that, I would have to fundamentally change the way it creates and sends e-mails.
Currently, it sends one e-mail to multiple recipients (based on the "Max number of users before breaking up the e-mail" setting on the admin/build/mass_contact/settings page).
In order to accommodate your request, I would have to change Mass Contact to send one e-mail to each address in the recipient list. Then I would have to load each user, one at a time, as I was sending the e-mail, to get their user information. If the recipient list is in the thousands (or maybe even the hundreds), that would place a heavy strain on both the web and mail servers.
Sorry, but I'm not going to be doing that any time soon.
Comment #3
markfoodyburton commentedI figured as much when I thought about it :-(
Only suggestion I had - and maybe if I get time I'll take a look - would be to provide the option of the recipient name/uid/email whatever, but to only enable them if the max number == 1.
- Otherwise, you could provide a list
Dear Ally, Baby, Cathy
this is a mass mail message, I hope you like it...
But I think this is silly, I think the option is only really useful if the max number ==1.
Comment #4
oadaeh commentedThe other thing I've thought of doing is to abstract and modularize the whole category system, such that admins could pick how they want to select people (by roles, profile fields [1], cck fields [2], etc. [3] [4] [5]). Then there could be one that is by user, and that one could have per user message filtering.
[1] http://drupal.org/node/211277
[2] http://drupal.org/node/184289
[3] http://drupal.org/node/136208
[4] http://drupal.org/node/144343
[5] http://drupal.org/node/213918
Comment #5
kateb82 commentedThanks for getting back to me. I do see the dilemma here in trying to accomplish this. It's still a great module - I'm sure people on my mailing list will survive without being called by name :-) Thanks again!