r3c / custom-from
在撰写时允许手动输入发件人地址(“From”头)
1.7.0
2024-09-28 07:38 UTC
Requires
- php: >=5.3.0
- roundcube/plugin-installer: >=0.1.3
- dev-master
- 1.7.0
- 1.6.7
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- dev-dependabot/github_actions/php-actions/phpunit-7
- dev-dependabot/github_actions/php-actions/composer-6
- dev-topic/identity-option
- dev-topic/identity-match
- dev-topic/message-compose-tests
- dev-topic/headers-get
- dev-topic/test
- dev-topic/identity-contains
- dev-pr/26
This package is auto-updated.
Last update: 2024-09-30 05:59:54 UTC
README
概述
此插件在撰写屏幕中添加了一个蓝色按钮,位于身份选择下拉菜单旁边。点击它,文本框将替换下拉菜单,允许您输入任何作为发件人值的内容(尽管它必须是有效的“From:”头字段值)。
当回复通过您身份列表中未列出的地址发送给您的电子邮件时,插件将自动触发,并将“From:”头设置为原始电子邮件发送的地址。
安装
选项 1: 使用 Composer 安装
从您的 RoundCube 安装目录执行 composer require r3c/custom-from
并运行安装命令。有关详细信息,请参阅 RoundCube 网站上的说明:https://plugins.roundcube.net/。
选项 2: 手动安装
将存储库内容克隆到 RoundCube plugins
目录内的 custom_from
目录中,以便 custom_from.php
文件可以在 $ROUNDCUBE_INSTALL_DIRECTORY/plugins/custom_from/custom_from.php
中找到。
cd $ROUNDCUBE_INSTALL_DIRECTORY
git clone https://github.com/r3c/custom_from.git
然后通过在配置中添加“custom_from”到 RoundCube 插件列表来引用插件(在 $ROUNDCUBE_INSTALL_DIRECTORY/config/main.inc.php
文件中的 $config['plugins']
变量中)。确保您的网络用户有权读取插件目录及其中的所有文件。
使用方法
一旦插件安装完成,自定义发件人按钮将出现在身份选择列表的右侧。
在用户首选项中打开“回复地址(自定义发件人)”以配置插件在回复电子邮件时应如何表现。
感谢
- dwurf (https://github.com/dwurf) 修复了全局 $IMAP 和 $USER 问题
- Peter Dey (https://github.com/peterdey) 为自定义头功能做出贡献
- kermit-the-frog (https://github.com/kermit-the-frog) 为各种错误修复做出贡献