承接 sandstorm/newsletter 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sandstorm/newsletter

Composer 安装命令:

composer require sandstorm/newsletter

包简介

Package for Neos, such that it can be used to send Newsletters in a performant way.

README 文档

README

The project has been sponsored by Swisscom, and initiated by Web Essentials. Thanks for your support!

This is a tool which adjusts Neos in a way such that it can be used to send Newsletters.

Is is comprised of two parts:

  • a Go Daemon which does the actual Mail-Sending
  • a Neos package this package which provides the User Interface

This is a newsletter sending infrastructure based on Neos. The actual newsletter-sending is handled through Redis and a Go-Daemon, which can be found at https://github.com/sandstorm/mailer-daemon.

Features

  • Performant and distributed mail sending through SMTP or Mandrill
  • All Newsletter content is manageable through Neos
  • Allow to replace arbitrary content in the newsletter with custom recipient-specific fields.
  • Recipient-specific fields can be previewed in the Desktop preview mode.
  • Support for multiple languages
  • Allowance to seggregate the recipient list arbitrarily to tightly control whom newsletters should be sent to, using the jq query language
  • Custom receiver sources possible
  • Supports Unsubscribe lists in a privacy-preserving manner, not storing email addresses but their hashes
  • Parallel email sending possible by starting multiple Go daemons simultaneously
  • Auto-Inline CSS style sheets for maximum compatibility

Non-Features

The following things are *not yet implemented, but might be implemented in further projects:

  • Sign Up for new Newsletters

Prerequisites

  • Install the mailer sending daemon which is written in Go
  • Install Redis
  • Install jq and ensure it exists on the PATH.

Installation / Set Up

  • Install this package through packagist:

    cd path/to/your/NeosDistribution
    composer require sandstorm/newsletter
    
  • Ensure you have the Routes included, so that means Configuration/Routes.yaml should contain the following before the Neos routes:

    -
    name: 'Newsletter'
    uriPattern: 'neos/newsletter/<NewsletterSubroutes>'
    subRoutes:
      'NewsletterSubroutes':
        package: 'Sandstorm.Newsletter'
    
    
  • Create a neos page template, using the TypoScript object Sandstorm.Newsletter:NewsletterPage. Also, ensure to include the Sandstorm.Newsletter:SampleDataWidget somewhere in your page.

    As an example, you can use the following TypoScript snippet:

    page = Sandstorm.Newsletter:NewsletterPage
    page.sampleDataWidget = Sandstorm.Newsletter:SampleDataWidget
    

Receiver Sources and Receiver Groups

Internally, the system uses files for representing receiver lists. Each line in a file represents a single receiver, and is a JSON object containing arbitrary properties (where one must be at least the email address, of course).

  • A receiver source is essentially one source for receivers. Currently, we support both line-by-line JSON and CSV files; but you might want to create your own Receiver Source lateron.

  • If you use multiple languages, the receiver source also contains a rule how the lines are segregated into the different languages.

  • The receiver group is an additional subset of receivers inside a receiver source, so you could create a "male" or "female" receiver source if you like.

Usage in Neos

  • First, go to the Newsletter Receiver Management module and create a new receiver source; in our example choose the type CSV Upload*[]:

  • Then, upload the Documentation/example.csv file. It defines the fields firstName, lastName, email, gender and language and contains just three receivers.

  • If you have a languages content dimension configured, set the correct filters; e.g:

    • German: language == "de"
    • French: language == "fr"
    • (others): false (as the input file does not contain these languages)
  • (optionally) create a receiver group for "Male", with the filter gender == "male", and vice versa for female.

  • Now, in the Content module of Neos, create a new Document of type Newsletter. In the inspector, first select a Receiver Group. Optionally define email subjects etc; and create your content as you like.

  • If your content e.g. includes {firstName}, this will be replaced with the actual first name of the email recipient. You can preview this by switching to the Desktop mode in preview central.

  • Enjoy!

Getting Help

If you get stuck, feel free to contact @sebastian or @christoph.daehne in Slack at slack.neos.io.

License

This software is licensed as MIT.

sandstorm/newsletter 适用场景与选型建议

sandstorm/newsletter 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 94 次下载、GitHub Stars 达 20, 最近一次更新时间为 2016 年 06 月 16 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 sandstorm/newsletter 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 sandstorm/newsletter 我们能提供哪些服务?
定制开发 / 二次开发

基于 sandstorm/newsletter 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 94
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 21
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 20
  • Watchers: 11
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-06-16