Linux 软件免费装
Banner图

Tempmails

开发者 neosmartapps
neoparker007
更新时间 2026年4月6日 11:46
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

disposable email temporary email IMAP email privacy temp mails

下载

1.0.7

详情介绍:

Self-hosted. Privacy-first. Fully yours.
Tempmails turns your WordPress site into a self-hosted temporary email service. Visitors generate a random disposable email address, receive messages in a real-time inbox, and discard them when done — all without leaving your site. Unlike third-party services, Tempmails runs entirely on your own server and IMAP mailbox. You own the data, the domain, and the brand. 🔒 No third-party email APIs 📬 Real IMAP inbox — not a simulation 🎨 Material Design 3 UI — beautiful out of the boxAJAX-powered — no page reloads 🚀 Quick Links Everything you need to get started, get help, and stay connected: 🎬 Watch: Full Installation Tutorial https://youtu.be/8SKRdyEUrog?si=KHfUT0KicbYphO1M Core Features 📨 Email Engine 🎨 Design & UI 🛡️ Privacy & Data ⚙️ WordPress Native Shortcode Place the inbox anywhere on your site with one shortcode: [tempmails_inbox] This renders the full inbox UI — email generation, copy button, auto-refresh, message list, and message viewer modal. Addon Ecosystem Tempmails Core is frozen infrastructure. All new functionality is delivered via addons using a documented, stable hook system — your site never breaks on Core updates. Available addon hooks cover: email generation, message routing, inbox access control, multi-domain support, billing integration, and more. See the Hooks section below for the full reference. Privacy Tempmails stores temporary email addresses in browser cookies to maintain inbox sessions between page loads. No personal data is collected, stored against user accounts, or transmitted to any external service. See External Services below for details on the optional GitHub ecosystem feed.

安装:

Minimum Requirements Step-by-Step Installation
  1. Upload the tempmails folder to /wp-content/plugins/ or install via Plugins → Add New → Upload Plugin
  2. Activate the plugin through Plugins → Installed Plugins
  3. Go to Tempmails → Settings → IMAP and enter your mail server credentials:
  4. Host: mail.yourdomain.com
  5. Port: 993 (SSL) or 143 (TLS)
  6. Encryption: SSL or TLS
  7. Username: catch-all@yourdomain.com
  8. Password: your IMAP mailbox password
  9. Click Test Connection to verify the credentials
  10. Click Save Settings
  11. Create a new WordPress page and add [tempmails_inbox]
  12. Publish — visitors can now generate and use temporary email addresses instantly
IMAP Catch-All Setup Your mail server must have catch-all email enabled so that messages sent to any address @yourdomain.com land in the single mailbox Tempmails reads from. In cPanel, set the Default Address for your domain to deliver to your catch-all inbox: *@yourdomain.com → catch-all@yourdomain.com Hostinger users: enable catch-all under hPanel → Email → Default Address. New to Hostinger? Get started here (affiliate link) — their hPanel makes IMAP catch-all setup straightforward even for beginners. Server Cron (Recommended for Reliable Fetching) WordPress cron only fires when your site receives traffic. For consistent email delivery, add a real server cron job in cPanel → Cron Jobs: * * * * * wget -q -O - https://yoursite.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1 Or using WP-CLI: * * * * * cd /path/to/wordpress && wp cron event run --due-now >/dev/null 2>&1

屏幕截图:

  • Message modal — full email content with attachment download support
  • Admin dashboard — statistics cards, IMAP status, and quick action
  • Settings — General tab with fetch interval and retention controls
  • Settings — IMAP tab with connection credentials and live test button
  • Design panel — live preview with color pickers and label customization
  • Addon Health page — per-addon error log and hook status

升级注意事项:

1.0.7 Security release. Fixes input sanitization in ajax_delete_message() and ajax_mark_seen(). Resolves an infinite IMAP re-fetch loop. All addon hooks retain identical signatures — no breaking changes. Update immediately.

常见问题:

Does this plugin require a third-party email service?

No. Tempmails connects directly to your own IMAP mailbox. You need a mail server with catch-all forwarding — Hostinger, any cPanel-based host, or any standard IMAP server works.

What PHP extensions are required?

The imap, mbstring, and json extensions must be enabled on your server. Most shared hosting providers include these by default. The plugin will display a clear error and refuse to activate if any are missing.

Can I use my own domain names for generated addresses?

Yes. Go to Tempmails → Settings → Domains and add one domain per line. All listed domains must route their catch-all to your IMAP mailbox.

How is message deletion handled?

Tempmails uses soft delete. When a user deletes a message, the to_address field is changed to an internal tombstone value rather than removing the database row. Deleted messages never appear in inbox queries. This behavior is permanent and guaranteed across all versions.

Can I white-label the inbox UI?

Yes. All user-facing text is translation-ready and overridable via filters. The Design Panel under Tempmails → Design lets you change colors, button labels, empty state text, and border radius — with a live preview.

How do I build an addon?

Register your addon using the tempmails_registered_addons filter, then hook into any documented action or filter. Core is frozen — all new functionality must be delivered via addons. See the Hooks section for the full reference.

Emails are not appearing in the inbox

  1. Go to Tempmails → Settings → IMAP and click Test Connection
  2. Verify catch-all forwarding is active on your mail server
  3. Confirm WordPress cron is running — use the free WP Crontrol plugin to inspect scheduled events
  4. Check Tempmails → Addon Health for any logged errors

How do I enable debug logging?

Add these two lines to wp-config.php: define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); Tempmails logs all errors to the standard WordPress debug log at /wp-content/debug.log and to the Addon Health page in admin.

更新日志:

1.0.7 - 2026-04-04 (Security Patch) 1.0.7 - 2026-04-02 (Security Patch) 1.0.7 - 2026-03-15 1.0.7 - 2026-03-07 1.0.6 - 2026-01-05 1.0.5 - 2026-01-04 1.0.4 - 2026-01-03 1.0.3 - 2026-01-02 1.0.2 - 2026-01-01 1.0.1 - 2025-12-31 1.0.0 - 2025-12-30