philippoehrlein/kirby-email-manager 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

philippoehrlein/kirby-email-manager

Composer 安装命令:

composer require philippoehrlein/kirby-email-manager

包简介

A Kirby plugin for managing email templates

README 文档

README

License Version

The Email Manager is a powerful plugin for Kirby CMS that simplifies email form creation and management. Designed for developers, it ensures a seamless experience while giving CMS users the flexibility to adapt content dynamically.

Cover Kirby Email Manager

Complete documentation is available in the Email Manager Documentation.

Features

  • Quick Setup: Forms ready in minutes.
  • Customizable: Adapt snippets and keep layouts flexible.
  • Your Styles: Use your own CSS classes for full design control.
  • Extensible: Add custom CAPTCHA solutions and webhooks.
  • Secure: CSRF protection, validation, optional rate limiting.
  • Spam Protection: Filters block bots and unwanted submissions.
  • Easy to Use: Use as blocks or tabs via blueprints; manage in the Panel.
  • Stay Compliant: Maintain texts and policies directly in the Panel.
  • Multi Email: Route to different recipients based on user input.

Installation

Composer Installation (recommended)

Run the following command in your site's root folder:

composer require philippoehrlein/kirby-email-manager

Manual Installation

  1. Download and extract the plugin
  2. Copy the kirby-email-manager folder to /site/plugins/

Quick Start

1. Configure Kirby for Email Sending

In your Kirby configuration file (site/config/config.php), set up the email transport settings. It's recommended to use a noreply email address for sending emails:

return [
    'email' => [
        'noreply' => 'no-reply@yourdomain.com',
        'transport' => [
            'type' => 'smtp',
            'host' => 'smtp.server.com',
            'port' => 465,
            'security' => true,
            'auth' => true,
            'username' => 'SMTP_USERNAME',
            'password' => 'SMTP_PASSWORD'
        ]
    ]
];

⚠️ Don't store credentials directly in the production configuration. Consider using the Kirby ENV Plugin to manage sensitive credentials.

2. Create the Email Template

Blueprint

Create the file site/blueprints/emails/contact-form.yml:

type: managed-template
name: Contact Form

emails:
  mail:
    subject: Contact Form Submission
    sender: Contact Form

fields:
  name:
    label: Name
    placeholder: Enter your name
    type: text
    required: true
    validate: alpha
    username: true
  email:
    label: Email
    placeholder: Enter your email
    type: email
    required: true
    replyto: true
  message:
    label: Message
    placeholder: Enter your message
    type: textarea
    resizable: vertical
    rows: 6
    required: true
    minlength: 10

Email Template File (optional)

If you don't create custom templates, the plugin uses built-in default templates (mail + reply). To customize, create site/templates/emails/contact-form/mail.text.php:

From: <?= $form->email() ?>

Name: <?= $form->name() ?>

Message:
<?= $form->message() ?>

3. Add the Form to a Page

Blueprint

Create site/blueprints/pages/contact.yml:

title: Contact Page

tabs:
  email-manager: email-manager

Page Template

Create site/templates/contact.php:

<?php snippet('email-manager/form-wrapper'); ?>

4. Create Contact Page

  1. In the Kirby panel, create a new page using the Contact Page blueprint
  2. Select the Contact Form template
  3. Enter the recipient email address
  4. Set up success title and message for form submissions

Your contact form is now ready to use!

License

  • The plugin is distributed under a proprietary license.
  • Production use requires a valid license per publicly accessible domain.
  • Local/Staging usage is free without a license.
  • Source code may be publicly viewable, but no redistribution or derivative works are permitted without written consent.
  • Updates: All future updates are included.

Please read the full license terms in LICENSE.md. For questions, use the contact form on the website.

Support

philippoehrlein/kirby-email-manager 适用场景与选型建议

philippoehrlein/kirby-email-manager 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 27 次下载、GitHub Stars 达 3, 最近一次更新时间为 2026 年 01 月 27 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 philippoehrlein/kirby-email-manager 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2026-01-27