This add-on does exactly what you want: https://pypi.python.org/pypi/collective.contentrules.mailtogroup
However, it may need some updates to work in Plone 5.
This add-on does exactly what you want: https://pypi.python.org/pypi/collective.contentrules.mailtogroup
However, it may need some updates to work in Plone 5.
Hi David,
Thanks for the suggestion. This is exactly what is needed.
I installed and the option shows up. However, there was an "error loading modal".
Anyone have any ideas?
It's always best to post a pastie.org of the error you got (and of your buildout configuration).
I've used collective.easytemplate a lot in Plone 4 sites. It lets you create templated email actions. It too probably needs updating for P5.
And if you ever do need to send based on roles instead of groups there's another add'on called collective.contentrules.mailtorole
There is another alternative way to solve it.
It let's you script actions based on emails being sent. For example you could capture the group email and replace it with emails to each member of the group.
The rule Dylan posted above is another good example of an excellent rule.
Searching pypi for "content rules' you get about two dozen content rules for Plone. Each one of these makes Plone a lot more useful for site admins and users.
There is so much added functionality lying dormant. (Note: I did try the rule "send to group" it install and shows up put I get an error).
So, how do we get these so they are P5 compatible? For example, can we have a kickstarter campaign to raise money to have people convert? I would be glad to help by testing and writing plone doc entries. I don't know any of the content rule authors. Does anyone know how to contact them?
I realize we all see the world through our own knot hole. What is important to us is what drives us. In the case of the site admin what drives our interest are the features closet to the users and our ability to solve the issues that matter to them and get them to love Plone. Isn't the end user our ultimate customer? If they can't get what they want from Plone, why would they support it?
Thoughts?
Is there a big problem with these not working on Plone 5?
The only thing that has changed in the content rule framework is that it was moved to z3c.form.
However, all content rules should inherit from a base class so custom rules shouldn't necessarily need work.
I just haven't tried them on P5
Looking at the page: https://pypi.python.org/pypi/collective.contentrules.mailtogroup
UberMultiSelectionWidget
This content rule uses the UberMultiSelectionWidget from plone.app.form. This widget is broken in version 1.1.7 of plone.app.form. Plone 3.3.4 has this version.
As of version 1.1.8 the widget is working again. To use the correct version pin down plone.app.form:
[versions] … plone.app.form = 1.1.8
==================================================================
@vangheem I am looking to hire someone to bring this into Plone 5. If you are interested, please contact me privately. thx.
I am not sure if this (modal) error is related. I have seen it two times in Plone 5, and restarting seeemed to fix it (I got the error on the login form.
I am using the built in content rule that allows you to send an email to an email address.
I tried specifying a group to send email to. Not surprisingly it didn't work.
But, since this Rule works great, would it be difficult to add code so that a group could be specified. Thus combining these to Content Rules
What I posted above is not a content rule. Did you try to install it?
Multimail is another rules system for reacting to emails sent out of plone to turn them into other things (such as sending to more than one person like a group)
Hi,
@djay I appreciate the follow-up. and Yes, I had tried that. I got a fatal error because yaml not on my host's system. chose not to try to troubleshoot or install yaml.
However, in reading the description, I didn't think it was a good fit for my target audience to use: Site Admin.
I want to use the standard Plone Content Rule because they are very comfortable for someone like me to build and administer.
I am not being a programmer, so I don't know how difficult or silly my question might be. If Plone can already handle quite elegantly adding email notifications to individual emails, and code exists (in the content rule I've referenced) what would it take to combine the two. That is, the setup form would have two sections for whom to send emails to: 1) users (or actual emails) and 2) groups.
I have been looking to hire somone for a reasonable fee to update the email to group content rule. However, if thie above approach could work, I would prefer that.
There is certainly a big whole in not being able to use a content rule to email a group. I would like to help fill that with some of my ideas and a little money if others can help. Anyone interested?
Hi David,
If you are interested in doing this upgrade for a fee, please contact me.
Some tips on finding someone to do work for you:
Hi,
So just for clarification you want a already present addon to upgrade it to make it plone 5 compatible, right ?
Correct. If interest please private message
Hi,
work is being done on this topic in github
Trying the approach of adding the ability to email to group using built plone ability.