random-cuber/responses

Response templates with variables

Installs: 150

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 1

Open Issues: 2

Type:roundcube-plugin

1.3.13 2020-08-13 21:18 UTC

This package is auto-updated.

Last update: 2024-11-14 06:20:55 UTC


README

Technical plugin name is responses.

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.