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]
Metadata
Release files for collective.local.sendto 1.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collective.local.sendto-1.6.2.tar.gz | 26.0 kB | Without provenance | Details for collective.local.sendto-1.6.2.tar.gz |
Release files / collective.local.sendto-1.6.2.tar.gz
| Download URL | collective.local.sendto-1.6.2.tar.gz |
|---|---|
| Size | 26.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
476e1989fc6784530ae809bc0b2062944ff20f88855106a43036c8f45f937f8c
|
|
BLAKE2b-256 checksum How to use checksums |
34aabe7e8f5c01a5c75984ecf263a8749697f1dc921b34c23619607cfed18b49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for collective.local.sendto 1.6.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.