Here is a Drupal forum post I made detailing what I am trying to do:
I have installed the Simple News module and it works as I want it for being able to set up multiple subscriber mailing list. I want to have one for each location as described in the forum post linked above. I am able to set an Action / Trigger that will send a newsletter through the mailing list when a new node of any defined content type is created. I'm assuming I'll be able to set up newsletters that will have the announcement text saying that a new page has been created along with the page title and URL. So if that assumption is correct, I'm able to do everything with it that I want to do except for one thing.
I don't want the action to happen when Events of all kinds are created. I only want it to happen if I can do a check to make sure a certain taxonomy term is present on the newly created node. I will have a tag for each location name on each Event. What I'd like to do is to set up a rule using the Rules module that will look at the newly create Event and only perform the Action if the taxonomy term for that location is present. I'll have a different mailing list for each location, so I can set up different rules for each location as well.
So if I create a new event at Location 1, there will be a taxonomy term/tag for Location 1. I then set up the action for the Location 1 mailing list to send a newsletter every time a new event is created, but the rule must first check that the created event has Location 1 as a tag. If it does, it will send the message to the list. If it doesn't, it will ignore the newly created event and move on to the next action/trigger/rule check.
The problems I'm having with the Rules module to do this are:
1) The action "Send single simplenews newsletter" is not appearing as an action that can be added within Rules where it says "Do - Add an action". I guess Simplenews isn't integrated to work with the Rules module. Is there any way to add this manually?
2) I don't know how to set up the query that checks if the correct location tag is present among the tags for the newly created Event where it says "ON event After saving new content - Add a condition"
If I could get past these two problems, I think this would get this working exactly as I want it to. If anyone can help with this, I'd appreciate it. If anyone knows of a better way to try to go about this, I'd definitely welcome the input. I don't have significant Drupal experience, so I'm just trying to figure it out as I go along. This one has me stumped.
Comments
Some ideas...
I'm not entirely certain I understand what you're trying to do, but here are some ideas that might get you started...
The first idea is to look into the Flag Module here: http://drupal.org/project/flag. I haven't used it, so I'm not sure but it could help.
My second idea is, rather than using simplenews, you might be able to get the functionality you'd like with only Rules, by doing the following:
1.) When a user chooses to "subscribe" to receive all, for example, events tied to location A, use Rules to assign that user a new role, i.e. "Event Location A." (If you need it, this will explain how: http://groups.drupal.org/node/74558.)
2.) Create a rule that defines the content type and taxonomy as conditions.
3.) In the actions of that rule, select "send e-mail to all users of a role" and choose the role "Event Location A."
4.) When you type the e-mail, using the Token module, you can have the e-mail contain the title, author, date, etc. of the event.
If you've got a ton of taxonomy/content type combos, this might be too difficult, but it could work if you only have a few.
I solved this with Rules
Didn't read your forum post (sorry), but I believe that I was facing a similar situation that I solved with Rules, after Simplenews failed me miserably. Simplenews was "working" for me, sending emails to users based on a taxonomy term, but they weren't including all the content I wanted (kept leaving out the CCK main content field, kind of important). As far as getting the emails to send, it just involved exposing the Simplenews controls in the content type so that the author could check the "Send Simplenews newsletter" for that node. (Don't use the auto set up newsletters, you have to go in and create new newsletters based on any node of your Tax types)
I solved this very much like kscott22 described, creating 5 roles called "Recieve TaxonomyX email" and then using the Role Delegation module to allow users to only control if they are in that role (but not the parent Taxonomy role which defines their ability to see the content on the site). This allows them to un/subscribe, and then just use "send email to users of a role" like described above.
Only problem I will add to this is that I had to custom mod the CCK content.tokens.inc because it was rendering the main text content field with all the HTML tags and special characters in their HTML codes.
In summary, screw Simplenews, build it yourself. It never truly worked for me, and I got zero support when I tried.