這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Asynchronous Emails

描述

Asynchronous Emails is a powerful WordPress plugin that enables you to send emails asynchronously using cron jobs, providing an efficient and optimized way to send emails on your website. By scheduling emails to be sent using cron jobs instead of sending them immediately, you can reduce server load and ensure that emails are sent in a timely and efficient manner, especially when sending bulk emails. This helps prevent delays and performance issues, leading to an overall improvement in website performance.

Features

  • Email log: The plugin provides a log of all processed emails, making it easy to keep track of sent emails and troubleshoot any issues.
  • Resend cancelled emails: If an email is cancelled or fails to send, this plugin provides an option to easily resend the email.
  • Failed attempts: The plugin allows you to configure the number of attempts to send an email, which helps ensure that important emails are successfully delivered.
  • Automatic record cleanup: The plugin offers the option to remove old records automatically after a certain time period or interval, ensuring that your email log stays up to date and doesn’t become cluttered with outdated information.

Requirements

  • WordPress 6.0 or newer.
  • PHP version 7.4 or newer. PHP 8 or newer is recommended.

Configuring Cron Jobs

To use this plugin and send emails asynchronously, you’ll need to configure a cron job on your web server. A cron job is a scheduled task that automatically runs at specified intervals. Here’s how you can set up a cron job:

  • Log in to your web server control panel, such as cPanel or Plesk.

  • Find the option to manage cron jobs and select it.

  • In the “Add New Cron Job” section, specify the frequency at which you want the cron job to run, for example, every hour or every day.

  • In the “Command” field, enter the following command:

    wget -q -O - https://[DOMAIN]/wp-cron.php?doing_wp_cron
    

    Make sure to replace [DOMAIN] with the URL of your WordPress website.

  • Save the cron job.

  • Add the following code to your wp-config.php file:

    define('DISABLE_WP_CRON', true);
    

Once the cron job is set up, the plugin will use it to send emails asynchronously.

Suggestions/Feature Request

We value your feedback and ideas. If you have suggestions or feature requests, please feel free to get in touch with us.

螢幕截圖

  • Queue list
  • Settings

安裝

Minimum Requirements

  • PHP 7.4 or greater is recommended
  • MySQL 5.6 or greater is recommended

Automatic installation

Automatic installation is the easiest option — WordPress will handles the file transfer, and you won’t need to leave your web browser. To do an automatic install of Asynchronous Emails, log in to your WordPress dashboard, navigate to the Plugins menu, and click “Add New.”

In the search field type “Asynchronous Emails,” then click “Search Plugins.” Once you’ve found us, you can view details about it such as the point release, rating, and description. Most importantly of course, you can install it by! Click “Install Now,” and WordPress will take it from there.

Manual installation

Manual installation method requires downloading the Asynchronous Emails plugin and uploading it to your web server via your favorite FTP application. The WordPress codex contains instructions on how to do this here.

評價

2023年9月15日
Superb plugin – async mailing is something that should be in WordPress by default because in some cases (comment replies for example), the queuing of large amounts of mail can cause a significant hit to performance which is resolved by this plugin.
閱讀全部1個評價

貢獻者及開發者

“Asynchronous Emails” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Asynchronous Emails 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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