Skip to main content

An easy to use but powerfull newsletter/mailing product for Plone 3+4

Project description

EasyNewsletter

EasyNewsletter is a simple but powerful newsletter/mailing product for Plone.

Features

  • Support Text and HTML Newsletter (including images)

  • Support manual written Newsletters/Mailings

  • Plonish (can use Plone’s Collections to collect content)

  • Variable templates to generate newsletter content

  • Subscribing / Unsubscribing and can use Plone Members/Groups as receivers (works also with Membrane)

  • support for external subscriber sources (configured through a Zope utility)

  • support for external delivery services (other than Plone MailHost)

  • TTW customizeable output Template to generate nice HTML Newsletter

  • Support personalized mails

  • mass import/export subscribers via csv

  • support external filtering/manipulation (filter out or add more subscribers) plugins

Requirements

  • inqbus.plone.fastmemberproperties, speed up access of member properties (optional, you can installed it with Products.EasyNewsletter[all] in your buidlout eggs list)

  • Plone 3.X (tested)

  • Plone 4.X (tested)

Installation

  1. Add Products.EasyNewsletter to your buildout

  2. Run your buildout script

  3. Restart zope

  4. Install EasyNewsletter via Plone Management Interface

  5. Add an “Newsletter Subscriber” portlet and select the EasyNewsletter (To this newsletter the subscribers will be added).

Documentation

For more documentation please visit: http://packages.python.org/Products.EasyNewsletter/

Configuring external subscriber sources

An external subscriber sources provides (additional) subscriber to a newsletter instance.

You configure an external subscriber source as Zope 3 utility providing ISubscriberSource (here an example where subscriptions are managed external through MongoDB):

class NewsletterSource(object):

    implements(ISubscriberSource)

    def getSubscribers(self, newsletter):
        """ return all subscribers for the given newsletter
            from the MyInfo user database. Newsletter subscriptions
            are referenced inside MyInfo through UIDs.
        """

        uid = newsletter.UID()

        # find MyInfo subscribers
        myinfo = getUtility(IMyInfo)
        subscribers = list()
        for user in myinfo.accounts.find({'data.newsletters' : uid, 'state' : 'active'}):
            subscribers.append(dict(email=user['email'],
                                    fullname=user['username']))
        return subscribers

The utility must be registered using ZCML:

<utility zcml:condition="installed Products.EasyNewsletter"
    name="MyInfo subscribers"
    factory=".newsletter.NewsletterSource" />

Inside the Edit view of the instance under the External tab you should find MyInfo subscribers under the option External subscriber source.

Allowed placeholders

The following placeholder can be used in the header, body and footer of issues:

  • [[SUBSCRIBER_SALUTATION]]

  • [[UNSUBSCRIBE]]

Source Code

In dec 2011 the source code repository was moved from svn-collective to github.

Bugtracker

Authors

  • initial release Kai Dieffenbach

  • since 2.0 Maik Derstappen

  • since 2.5 Andreas Jung

  • Philip Bauer

  • Timo Stollenwerk

  • Dinu Gherman

Changelog

2.6.4 (2012-05-03)

  • nothing yet

2.6.4 (2012-05-03)

  • add german translations [derstappenit]

2.6.3 (2012-04-30)

  • don’t override the issue content after first saving [derstappenit]

  • rename aggregate action and move this action to object_buttons (actions menu) [derstappenit]

2.6.2 (2012-04-20)

  • Improved handling utf-8 strings for the import and export for members [frapell]

  • Added stoneagehtml package for processing the newsletter’s html before sending it by mail. This add support for css declararions that will be written directly into the html tags to improve rendering results in email clients. [nueces]

  • Added Spanish translation. [nueces]

  • Fix rendering of images in email-clients. [wimbou, WouterVH]

  • Fix non-ASCII chars in headers. This fixes http://plone.org/products/easynewsletter/issues/17 and http://plone.org/products/easynewsletter/issues/19 [regisrouet, WouterVH]

  • Fix breaking dexterity by checking on portal_type instead of meta_type. [WouterVH]

  • When a subscriber is created via addSubscriber, set language same as newsletter. (merged from branch-bpi-rouet-2011-9) [regisrouet, WouterVH]

  • When importing, set subscriber language same as newsletter. (merged from branch-bpi-rouet-2011-9) [regisrouet, WouterVH]

  • Fix unicode characters in title of issue. (merged from branch-unicodefix) [mircoangelini, WouterVH]

  • i18n for the uploaded/downloaded CSV-file. [WouterVH]

  • Fix Plone3-compatibility when sending MIMEMultipart-messages. [WouterVH]

  • A regular Editor can now edit and refresh drafts, without needing full Manager-permissions. [WouterVH]

  • Fix unicode decode error when sending newsletter issues with special characters in the title. [timo]

  • Update Brazilian Portuguese translation [ericof]

  • fix subscriber tempatlae, to remove the the empty p tag if no description is provided [derstappenit]

  • use radio buttons instead of selection for salutation selection in subscriber template [derstappenit]

2.6.1 (2011-11-23)

  • Fix mail rendering in Thunderbird 8. [timo]

  • Fix German translation for registration notification. [timo]

  • Use test instead of tests in extras_require to comply with Plone standards. [timo]

  • Remove test_enl.py tests since it does not test anything that is not covered by test_setup.py. [timo]

2.6 (2011-10-01)

2.5.10a2 (2011-03-11)

  • Nothing yet.

2.5.10a2 (11/03/2011)

  • Fix confirm_subscriber and addSubscriber to set salutation from subscribe portlet. [numahell]

  • Fix ENLHTMLParser for unicode URLs. [timo]

  • Order newsletters and drafts by creation date. [timo]

  • Set batch_base_url in enl_subscribers_view, this fix the url of batch navigation. [derstappenit]

2.5.10a1 (15/02/2011)

  • plone.app.testing test setup added. [timo]

  • Do not exclude ENL content types from navigation on a content object level. Exclude them on content type level in the GS profile. [timo]

  • Fix UnboundLocalError which comes with the try except statement. [derstappenit]

  • Fix AttributeError get_all_memberproperties if fmp is available but not installed in the quickinstaller. [derstappenit]

2.5.9 (15/02/2011)

  • Fix UnboundLocalError: local variable ‘o’ referenced before assignment, which come with the try except to cache image handling errors. [derstappenit]

2.5.8 (14/02/2011)

  • Fix optional use of fmp. [derstappenit]

  • Only add default_template if doesnt exists, this fix error in archetypes_tool on update schema. [derstappenit]

  • Add a BooleanField sendToAllPloneMembers, which can be used to address all existing plone members in a newsletter, no need to select all every time new user are available. [derstappenit]

  • Fix url handlink for links and images if url contains empty spaces, add z3 resource image support, add images only to html part of the email. [derstappenit]

  • Cache exception if broken img tags exist that can’t be resolved by restrictedTraverse, but log the error. [derstappenit]

2.5.7 (08/02/2011)

  • Do not encode email addresses when exporting subscribers. [timo]

  • Make sure the url variable is always set in the handle_starttag method of the ENLHTMLParser. [timo]

  • Fix CSV import with special characters. [timo]

  • Do not create a persistent file when exporting CSV data, use a temp file instead. [timo]

  • Fix CSV export with special characters. [timo]

  • Added missing methods for HTML parser in order to preserve HTML references and other stuff. [dgherman]

2.5.6 (27/01/2011)

  • Create new Sphinx-based documentation. [timo]

  • Move CSV file format description to the top. [timo]

  • CSV export added. [timo]

  • Use TextAreaWidget for the newsletter template body. [timo]

  • Fix/refactor/rewrite CSV import. [timo]

  • Fix CSV-Import format description. [timo]

  • Link to subscriber import added. [timo]

2.5.5 (26/01/2011)

  • Remove unneeded dependency to BeautifulSoup. [derstappenit]

2.5.4 (11/01/2011)

  • Fix schema of EasyNewsletter and ENLIssues, use copy to create a schema based on ATTopicSchema. [derstappenit]

2.5.3 (07/01/2011)

  • Fix issue view, now it looks mostly like the html newsletter version in your mail client. [derstappenit]

2.5.2 (06/01/2011)

  • Add salutation to ENLSubscriber. [derstappenit]

  • EasyNewsletter and subscriber portlet. [derstappenit]

  • Make name and salutation optinal in subscriber portlet. [derstappenit]

  • Remove filter in get_public_body, because we want the look of the public view mostly like in the sended mails. [derstappenit]

  • Optimize issue_send_form to make it more failsave. [derstappenit]

  • Refacturer the handling of placeholders for salutation and unsubscribelink. [derstappenit]

  • Reinclude header and footer in mails. [derstappenit]

  • Fix MultipartMessage-handling, now text and html messages parts have all images included. [derstappenit]

  • Cleanup archetypes schematas of EasyNewsletter and ENLIssue. [derstappenit]

  • Add many german translations. [derstappenit]

2.5.1 (2010/11/30)

  • Added CSV import (to upload_csv.pt, subscribers.py) you have to append ‘@@upload_csv’ to your newsletter url to call this page. the csv file must look like this (email is required):

    "fullname","email","organization"
    "John Doe","john.doe@yahoo.com","ACME Corp."
    "","admin@plone.org",""

    [nan]

2.5.0 (2010/11/26)

  • Final release.

2.5.0b6 (2010/11/24)

  • Fixed issue default view (refresh documentation did not work). [ajung]

2.5.0b5 (2010/11/23)

  • Fixed error handling in send(). [ajung]

  • Made unsubscribe code more robust. [ajung]

2.5.0b4 (2010/11/19)

  • Compatibility fixes with Plone 3/4. [ajung]

  • Default template mechanism while creating a new issue did not work. [ajung]

2.5.0b3 (2010/11/18)

  • Subcollections view did not work. [ajung]

2.5.0b2 (2010/11/16)

  • Fixed encoding issue with the member vocabulary. [ajung]

2.5.0b1 (2010/11/16)

  • Added support for Zope utilities providing the ISubscriberSource interface to hook in external subscriber sources (e.g. some sub-system managing subscriptions to newsletters on their own (instead of relying on instances of ‘Subscriber’ located inside the newsletter folder itself). [ajung]

  • The ‘Subscribers’ tab of Issue instance now also includes subscribers from an utility providing ISubscriberSource. [ajung]

  • The Newsletter instance now got an new schemata ‘External’ and a new option to configure an utility providing ISubscriberSource. [ajung]

  • It is now possible to configure a dedicated MailHost for newsletter delivery other than the configured Plone MailHost (see External tab of the Newsletter instance). An external delivery service must be configured as named utility providing IMailHost. [ajung]

  • Major refactoring of the send() method of ENLIssue. [ajung]

  • Added getFiles() API to ENLIssue for auto-generating a listing of files attached to the newsletter body upon send time. [ajung]

  • Personal information like the salutation {% subscriber-fullname %} must no longer be located inside the newsletter body but should be moved out to the header and footer sections. [ajung]

  • Replace enl_issue_view with a rendered view of the newsletter without header and footer. [ajung]

  • Added all types to portal_factory configuration. [ajung]

  • Added @@all_issues_view to Newsletter implementation. [ajung]

  • Plone 4 compatibility fixes.

  • Various cleanup. [ajung]

2.0.1 (2010-07-31)

  • Bugfix: use the Zope MailHost for conformations mails, instead of sendmail. Now you settings in plone sitesetup will respected ;).

2.0 (2010-07-16)

  • Integrate the header and footer field into email text.

  • Add possibility to define a default header and footer in the Newsletter container.

  • Add fullname attribute to subscriber.

  • Add description and fullname to subscriber portlet.

  • Add usefull path description to subscriber portlet and allow also a path starting with ‘/’.

  • Add plone members and groups selection to Newsletter and Issue.

  • Use inqbus.fastmemberproperties to get all memberproperties fast. (inqbus.fastmemberproperties is now required!)

  • Add personalization of emails.

  • Add PERSOLINE marker to indicate personalize lines, this lines are removed in archive view.

  • Add TemplateField to the Newsletter container to cutomize the output format of the mailing/newsletter.

  • Make sending more robust, catch Exceptions and log it, insted of breaking up in the middle of sending procedure.

  • Move confirmation mail subject and text out into Newsletter settings to make it customizeable.

  • Add Double Opt-in to subscribe process.

1.0 beta 3 (2009-12-24)

  • Removed subscribers and templates from navigation.

  • Batch subscribers.

1.0 beta 2 (2009-12-19)

  • Added missing non-python files.

1.0 beta 1 (2009-12-19)

  • First version for Plone 3.

Project details


Release history Release notifications | RSS feed

This version

2.6.4

Download files

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

Source Distribution

Products.EasyNewsletter-2.6.4.zip (161.2 kB view hashes)

Uploaded Source

Supported by

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