定制 random-cuber/responses 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

random-cuber/responses

最新稳定版本:1.3.13

Composer 安装命令:

composer require random-cuber/responses

包简介

Response templates with variables

README 文档

README

Technical plugin name is responses.

Plugin help template

Plugin provides variable substitution in the compose response templates by injecting fields derived from the composed mail headers (from, to, cc), and thus can make mail messages more personal.

Plugin also adds support for html-based response templates.

For example, assuming the following compose message headers:

from: "thomas cube" <thomas.cube@mailer.net>
to:   "machniak, aleksander" <aleks@example.com>

this sample template with variables:

    {to_head}, hello.
    
    Thank you,
    {from_head}.
    
    --
    {from_full} <{from_mail}>

will produce the following result after insert:

    Aleksander, hello.
    
    Thank you,
    Thomas.
    
    --
    Thomas Cube <thomas.cube@mailer.net>

Manual Install

Installation can be done in two steps: providing resources and activating configuration.

  1. Provision plugin resources. For example, for roundcube on archlinux:
cd /usr/share/webapps/roundcubemail/plugins

rm -r -f responses
git clone https://github.com/random-cuber/responses.git responses
  1. Activate plugin in roundcube configuration. For example, for roundcube on archlinux:
cat /etc/webapps/roundcubemail/config/config.inc.php

$config['plugins'] = array(
    'responses',   // plugin proper
);

Settings

Navigate to:

// to change plugin features:
Settings -> Preferences -> Composing Messages -> Responses

// to manage response templates:
Settings -> Responses -> ...

Menu entries:

  • TODO : TODO

Operation

Prepare templates using available plugin variables.

Translation

Contribute to translation via transifex.

统计信息

  • 总下载量: 173
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Apache
  • 更新时间: 2020-08-13