SNIP

eliza411 - May 26, 2008 - 11:13

That would be a useful option, indeed. Toward the same end, I think, would be a variable to allow you to include the names of all the people who received the e-mail in the body or from: field of the e-mail.

/SNIP

Here you go! There may be some sort of privacy issue with this, but it's fine for smaller sites I guess.

CommentFileSizeAuthor
condense_recipients.patch3.91 KBjeff.ferrari

Comments

jeff.ferrari’s picture

condense_recipients.patch adds a configuration checkbox. Instead of multiple calls to drupal_mail() , it just gathers all the emails up then calls it once with all emails in recipient field.

davidneedham’s picture

dgtlmoon’s picture

action_email_role$ cat condense_recipients.patch |patch -p0
patching file action_email_role.module
Hunk #1 succeeded at 43 with fuzz 2 (offset 5 lines).
Hunk #2 FAILED at 69.
Hunk #3 FAILED at 107.
Hunk #4 FAILED at 123.
Hunk #5 FAILED at 143.
Hunk #6 FAILED at 151.
5 out of 6 hunks FAILED -- saving rejects to file action_email_role.module.rej

failed on current dev for 5x

davidneedham’s picture

Status: Needs review » Closed (fixed)

Almost a year of inactivity for an old version of Drupal... closing.