I have a form created with PloneFormGen and a group of users in my plone website. How to configure Mailer Adapter Recipient Expression (in myform/mailer/edit - Overrides) to send mail to this group of users?
Set PloneFormGen to send mail to a group of users
129 Views Asked by GhitaB At
2
There are 2 best solutions below
1
On
Have a look at https://plone.org/products/collective.contentrules.mailtogroup and https://pypi.python.org/pypi/collective.groupmail though they may not be directly usable from PFG. You might have to create something intermediate that is callable from a PFG form that uses these.
I've had lots of success emailing groups of users with https://pypi.python.org/pypi/collective.easytemplate - it lets you create content rules (and pages and portlets) that contain expressions that can do almost anything.
Unluckily I don't think you can use
plone.apimethods here as you are in the restricted pythonTry something like: