Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.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]
Release History

Release History

This version
History Node

1.6.1

History Node

1.6

History Node

1.5

History Node

1.4

History Node

1.3

History Node

1.2

History Node

1.1.1

History Node

1.1

History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.local.sendto-1.6.1.zip (50.1 kB) Copy SHA256 Checksum SHA256 Source Jun 2, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting