Adds a 'Mailing' tab to selected content types that allows to select users that have a role on the content and send them a wysiwyg composed email. By Ecreall.
Project description
Introduction
Provides a “Mailing” tab on selected content types. It provides a ‘send email’ form where you can select recipients from the list of members having a local role on the content.
Content types have just to implement ISendToAvailable, or, if they are dexterity type, to enable the behavior “Send mail tab”.
In your policy product :
Add ‘collective.local.sendto’ to the ‘install_requires’ parameter of setup.py
Add to the configure.zcml:
<include package="collective.local.sendto" /> <class class="my.package.content.MyContent.MyContent"> <implements interface="collective.local.sendto.interfaces.ISendToAvailable" /> </class>
Roles whose you can select users as recipients are set by a site property : sendToRecipientRoles.
COMPATIBILITY
Plone 4.0, Plone 4.1 Wisywig behavior needs Products.TinyMCE >= 1.0
Changelog
1.6.2 (2018-01-04)
Improve error log when image missing. [thomasdesvenain]
Prevent fatal error if image links are broken [thomasdesvenain]
1.6.1 (2014-06-02)
Avoid error log for external image links. [thomasdesvenain]
1.6 (2013-11-04)
Works when emails and name given are unicode. [thomasdesvenain]
When no mfrom is given use portal email. [ebrehault]
We can set body content_type in send_mail. [thomasdesvenain]
1.5 (2013-09-18)
Delegated re-usable methods : send_mail and get_images_from_body. [thomasdesvenain]
Notify MailSentEvent when an email is sent. [cedricmessiant]
1.4 (2013-07-18)
uses the same algorithm from collective.local.userlisting to get members with roles. [thomasdesvenain]
i18n fixes. [thomasdesvenain]
Fix sendto action permission. [thomasdesvenain]
Plone 4.3 jQuery compatibility. [thomasdesvenain]
Remove Controller Page Templates, use views. [thomasdesvenain]
We can include images in sent email. [thomasdesvenain]
1.3 (2013-04-24)
Use png icon (Plone 4.3 compatibility). [thomasdesvenain]
Now we have a dexterity behavior. [thomasdesvenain]
1.2 (2013-02-13)
Set a default subject. Link towards the document is now explicit in a default body. [thomasdesvenain]
Link to ‘view’ for typeActionViewInListing types. [thomasdesvenain]
1.1.1 (2012-12-05)
Fix: works with C security implementation. [thomasdesvenain]
1.1 (2012-12-05)
Danish translation. [tmog]
Use global roles. [thomasdesvenain]
Filter roles on those which can view content. [thomasdesvenain]
1.0.0 (2011-04-06)
Initial release. [thomasdesvenain]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file collective.local.sendto-1.6.2.tar.gz
.
File metadata
- Download URL: collective.local.sendto-1.6.2.tar.gz
- Upload date:
- Size: 26.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476e1989fc6784530ae809bc0b2062944ff20f88855106a43036c8f45f937f8c |
|
MD5 | 55a6b1adec5750bf2946e92b7f17df75 |
|
BLAKE2b-256 | 34aabe7e8f5c01a5c75984ecf263a8749697f1dc921b34c23619607cfed18b49 |