Process2IT Forms Mailer

外掛說明

Process2IT Forms Mailer is designed as a modern form and mail delivery plugin for WordPress. It helps site administrators create flexible forms and send messages through WordPress mail, custom SMTP, Microsoft 365 SMTP OAuth, or a test/log-only mode for staging sites.

Process2IT Forms Mailer is developed by Process2IT.

The plugin uses its own form tag system:

{{field type="text" name="your-name" required="true" label="Your name"}}

Forms can be published with:

[process2it_form id="123"]

or with the server-rendered Process2IT Form block.

Submission storage is optional and disabled by default. Mail logging is optional and masks secrets.

Version 1 supports Microsoft 365 SMTP OAuth configuration for smtp.office365.com with STARTTLS and XOAUTH2. Microsoft Graph API mail delivery is architecturally prepared but not included in the first release line.

Privacy

Process2IT Forms Mailer does not track users and does not store submissions by default. If submission storage is enabled, stored data may include submitted field values and, depending on settings, IP address, user agent, referrer and uploaded files. Administrators can configure retention and delete submissions.

External services

Process2IT Forms Mailer can connect to external SMTP services only when configured by the administrator.

For Microsoft 365 SMTP OAuth, the plugin connects to:

  • https://login.microsoftonline.com/ for OAuth authorization and token refresh.
  • smtp.office365.com for SMTP delivery using STARTTLS and XOAUTH2.

Data sent to these services may include the tenant ID, client ID, client secret, authorization code, refresh token during token refresh, redirect URI, requested OAuth scopes, authorized sender mailbox, email recipients, subject, message body and optional attachments. These services are provided by Microsoft.

Microsoft privacy statement: https://privacy.microsoft.com/privacystatement

Microsoft Product Terms: https://www.microsoft.com/licensing/terms

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Process2IT Form

安裝方式

  1. Upload the process2it-forms-mailer folder to /wp-content/plugins/.
  2. Activate Process2IT Forms Mailer from the Plugins screen.
  3. Go to Process2IT Forms Mailer > Add New and create a form.
  4. Publish the form with its shortcode or the Process2IT Form block.
  5. Configure Process2IT Forms Mailer > Mail Settings and send a test email.

常見問題集

Does Process2IT Forms Mailer store submissions by default?

No. Submission storage is disabled by default and must be enabled per form.

Does the plugin send data to external services automatically?

No. External mail services are contacted only when the administrator configures a mailer that requires them.

Does Microsoft 365 SMTP OAuth use Basic Authentication?

No. Version 1 uses OAuth 2.0 with XOAUTH2 for Microsoft 365 SMTP.

Which Microsoft 365 scope is required?

The OAuth app needs offline_access and https://outlook.office.com/SMTP.Send.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Process2IT Forms Mailer〉的開發相關工作。

參與者

將〈Process2IT Forms Mailer〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.16

  • Removed the optional Author URI to avoid external URL scan timeouts during WordPress.org review.
  • Moved frontend nonce validation ahead of general submission processing.

1.0.15

  • Renamed the plugin to Process2IT Forms Mailer with the requested new slug process2it-forms-mailer.
  • Updated plugin prefixes, shortcode, custom post type, options and table names to use the longer p2itfm_ prefix.
  • Replaced old brand assets and expanded the Microsoft external service disclosure.
  • Removed the WordPress install path from encryption key derivation.

1.0.14

  • Reworked submission listing queries to avoid dynamic prepared SQL warnings.
  • Scoped uninstall cleanup variables inside an isolated uninstall routine.

1.0.13

  • Reduced Plugin Check warning noise for read-only admin query parameters.
  • Updated custom table queries to use WordPress identifier placeholders.
  • Improved uninstall variable prefixes and table-drop queries.

1.0.12

  • Fixed Plugin Check errors for translator comments, admin select attributes and stream closing.
  • Removed the manual translation loader now handled by WordPress.org.
  • Hardened custom table query identifiers for Plugin Check review.

1.0.11

  • Prepared a clean WordPress.org submission package without development tooling files.

1.0.10

  • Removed custom plugin row detail links so WordPress can handle plugin details consistently.

1.0.9

  • Simplified plugin list links to avoid generic external homepage links.

1.0.8

  • Updated the WordPress.org contributor username.

1.0.7

  • Fixed WPCS ruleset compatibility for short ternary exclusions.

1.0.6

  • Added project WPCS configuration for review checks.
  • Improved admin input handling for nested settings forms.
  • Escaped dynamic admin select attributes.

1.0.5

  • Added Process2IT Forms Mailer branding assets.
  • Added Support/About screen with product details and support links.
  • Added plugin list links for Settings and Support.

1.0.4

  • Added SMTP port/encryption mismatch validation for common 465/SSL and 587/TLS setup errors.

1.0.3

  • Removed the incomplete admin language selector; admin UI is English-only again.
  • Added SMTP preflight connection diagnostics to failed SMTP logs.
  • Added subject and expanded diagnostic details to the Logs screen.

1.0.2

  • Added privacy checkbox on/off and editable privacy checkbox label.
  • Added delete action for forms.
  • Added more form design controls.
  • Improved test mail and SMTP error capture.

1.0.1

  • Added a dedicated Forms overview page with edit, duplicate, shortcode and status controls.
  • Added clearer guidance for empty submissions and mail delivery logs.
  • Hid irrelevant mailer settings when a different mailer is selected.
  • Added form design controls for width, spacing, colors, font size, labels and button style.
  • Prevented a false success state when no form email action is enabled.

1.0.0

  • Initial stable release.
  • Added p2itfm_form custom post type.
  • Added shortcode and server-rendered block.
  • Added safe Process2IT form tags and mail tags.
  • Added WordPress mail, custom SMTP, Microsoft 365 SMTP OAuth and log-only mailers.
  • Added optional submissions, mail logs, CSV export, privacy controls and cleanup.