Skip to main content

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]

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

collective.local.sendto-1.6.1.zip (50.1 kB view details)

Uploaded Source

File details

Details for the file collective.local.sendto-1.6.1.zip.

File metadata

File hashes

Hashes for collective.local.sendto-1.6.1.zip
Algorithm Hash digest
SHA256 5dd88ddffaf7a5048110a95a39d4aa1143e61601ebbb857d7ebd1718fac0f3e9
MD5 be6c723f959fb6c10b28166a3ac44619
BLAKE2b-256 0e198192c54fcf20540a9326ae87c0505389921fe78d0b4dde4d31defb977478

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page