skip to navigation
skip to content

Not Logged In

collective.local.sendto 1.6

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.

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 (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]
 
File Type Py Version Uploaded on Size
collective.local.sendto-1.6.zip (md5) Source 2013-11-04 48KB
  • Downloads (All Versions):
  • 58 downloads in the last day
  • 355 downloads in the last week
  • 960 downloads in the last month