๐Ÿ“ง Mail Service & Licensing Notes

Last updated๏ผš2026-11-25

๐Ÿ”‘ License and Email Services

โš ๏ธ ๆณจๆ„

Read the Scope First This chapter describes the licensing model of the standalone delivery edition CMS (self-hosted on a single machine, with the program managing its own license code). In the SaaS platform (platform/), tenant sites have no “License Management / Activate License Code” step: the platform has switched to a subscription model โ€” subscription status is written by the platform into the tenant database’s subscriptions table and read by the engine in real time; on expiry only the admin panel is locked (the front end works as usual), and renewal restores it automatically. So SaaS tenants see no license code entry in their admin; the “four license editions / license code activation” below apply only to the standalone delivery edition. The only practical impact for template developers: whether multilingual tags output is determined by “whether the current site has multilingual capability” โ€” under SaaS it is judged by the platform per plan/subscription, and in the standalone edition by the license code.

This chapter covers the four license editions, license code activation, expiry policy, and SMTP email features. Template developers, pay special attention to: multilingual tags ({{.LangSwitcher}}, {{.HrefLangs}}) output only with a Professional or above license.

๐Ÿ“ฆ Four License Editions

The program binaries of all four editions are completely identical; the differences are determined by the license code:

Edition Annual Fee Bound Domains Multilingual Use Case
Basic ยฅ199 1 โŒ Single-language corporate / personal site
Professional ยฅ699 1 โœ… Foreign-trade multilingual site (recommended)
Enterprise ยฅ2,999 2 โœ… Dual domains, priority technical support
Site Group ยฅ89,999 Main domain + unlimited subdomains โœ… Batch site-group deployment

๐Ÿ’ก Static site export is available in all four editions; the number of domains is filled in when the license code is issued, not decided by the program.

๐Ÿ” License Code Activation

Admin path: Admin โ†’ License Management. Paste the license code and click activate; the license record is written to the licenses table (product is the product code; one code per domain per email).

The license code uses Ed25519 asymmetric signing: only the public key is embedded in the program, so customers cannot forge codes; only the issuer holding the private key can generate valid license codes.

โฐ Expiry Policy: Gentle Reminders, No Admin Lockout

After the service expires, the admin is not locked: all front-end and admin features remain usable; only a reminder shows in the “System Info” card on the admin home page. - โ‰ค 30 days before expiry: blue notice “Service expiring soon”, suggesting early renewal - Expired: orange notice “Service expired”, clearly stating features are unaffected - Already-purchased capabilities such as multilingual are not revoked on expiry, avoiding paralysing customer-built sites

โš ๏ธ ๆณจๆ„

Impact on template development: whether multilingual tags output depends on “whether Professional / Enterprise edition was ever purchased” (LicenseOwned), regardless of service validity. In other words, after buying Professional, a customer’s multilingual sites keep working even without renewal.

๐Ÿ“ง SMTP Email Services

Admin path: Admin โ†’ Email Settings. After configuring SMTP, two features are enabled:

Feature Trigger Token Validity
Forgot password Login page “Forgot password?” โ†’ enter username or email โ†’ reset via email link 30 minutes ยท one-time
New user email verification Automatically sent when creating an administrator in the admin 24 hours ยท one-time

Supports SSL(465) / STARTTLS(587) / no encryption(25); configuration is stored in the settings table (key prefix smtp_).

Security design: the password is stored obfuscated in the database and never echoed in plaintext on the page (leave blank to keep unchanged); when the account doesn’t exist, the response is identical to the success message (prevents account enumeration); the same account can request a reset only once per 60 seconds.

๐Ÿšš Delivery Package Structure (Standalone Delivery Edition)

Delivery packages are organized per edition: 01-ๅŸบ็ก€็‰ˆ / 02-ไธ“ไธš็‰ˆ / 03-ไผไธš็‰ˆ / 04-็ซ™็พค็‰ˆ. Each directory contains: - cms-windows.exe, cms-linux: the programs for the corresponding platforms (already UPX-compressed) - templates/, static/: templates and static assets - cms.db: initial database (with the complete table structure and default administrator pre-built; the program does not auto-create core tables) - .env, start.bat, deploy.sh, ไฝฟ็”จ่ฏดๆ˜Ž.txt (usage instructions)

โš ๏ธ ๆณจๆ„

When replacing cms.db during development, be sure to also delete cms.db-wal and cms.db-shm, otherwise SQLite will read stale state (symptom: “tables all present but reports no such table”).

SaaS mode does not use this delivery package: tenant sites are provisioned by the platform, with database file names randomly generated and located by directory on the platform side; there is no “copying cms.db around” step.

โ† Admin Extensions and Operations

This site uses cookies for essential functionality and to improve your experience. See our Privacy Policy.