plugin-icon

メールログ – WP Mail Catcher

投稿者: JWardee·
もう二度とメールを無くさせません。この高速で、軽量なプラグイン(サイズは140kb以下!)だから、あなたのメッセージのデバッグやバックアップに最適です。
評価
4.9/5
バージョン
2.1.11
有効インストール数
20K
最終更新日時
Jul 13, 2025
メールログ – WP Mail Catcher

あなたのメールログを残して、二度とメールを無くさせません。何より軽量なプラグイン(サイズは140kb以下!)だから、あなたのメッセージのデバッグやバックアップに最適です。

インストールしてアクティベートするだけで、追加の設定なしですべてのお問い合わせフォームのEメールがログに記録され、DBに保存されます。

通常の WordPress インターフェースを介して、すべてのフォーム送信の表示および管理を行います。メールの送信に失敗した? そんな時はワンクリックで、バックアップされたメールを再送信できます。

WordPress インターフェースから直接メールを送信します。添付ファイルもサポートしています。

お問い合わせフォームの送信が正常に完了したかどうか、すぐに確認できます。

特徴

  • セットアップ不要 – インストールするだけですぐに使用可能
  • ミニマル – サイトの重量を減らすため使用しない過剰な機能はなし – サイズは140KB未満!
  • Excel やその他のプログラムで簡単に利用できるように CSV でEメールを一括エクスポート
  • 使い慣れた WordPress の操作で新しいメールを作成
  • メールをまとめて再送信
  • デバッグ – 発生したエラーとともにメール送信に関与したファイルとコード行を正確に確認
  • ログを表示できるユーザー権限を管理
  • 指定されたタイミングで定期的にログを消去 – または恒久的に保持
  • メール送信で問題が発生したら通知が必要ですか? 私たちはまさにそのためのフックを用意しています
  • 完全無料

フックとアクション

  • wp_mail_catcher_mail_success is triggered when a message is sent and logged successfully. It has a single argument that is an array containing the log
    • id related to the id in the mail_catcher_logs MySQL table
    • time relative, readable time to when the log was saved
    • email_to the email address(es) that the message was sent to
    • subject the subject line of the message
    • message the contents of the message
    • status an integer depicting if the message was sent successfully or not (1 = sent successfully. 0 = sending failed)
    • error the error that occurred – if any
    • backtrace_segment a json_encoded object that shows which file and line the mail was initially triggered from
    • attachments a list of any attachments that were sent along with the email
    • additional_headers a list of any headers that were sent
    • attachment_file_paths a list of the location of any attachments that were sent
    • timestamp a unix timestamp of when the email was sent
    • is_html a boolean, that will be true if the message is a html email and false if not
    • email_from the from value of the email
  • wp_mail_catcher_mail_failedは、メッセージの送信に失敗し、正常にログに記録されたときにトリガーされます。 引数は1つで、ログを含む配列です。(wp_mail_catcher_mail_successの引数と同様)
  • wp_mail_catcher_deletion_intervals は、各キーが秒単位の時間で値がラベルの配列を返すフィルタです。メッセージがいつ有効期限が切れ削除されるべきかを判定するために使用されます。
  • wp_mail_catcher_before_success_log_save is a filter that is called just before a successful log is saved. It has a single argument that is the transformed log that will be saved – use this to alter the log before it’s saved. Returning false will stop the log from being saved. Also note that this is fired even when an email has errored, because all logs are initially saved as “successful” before being possibly updated with an error (if applicable). This is because of the way the wp_mail and wp_mail_failed are implemented in WordPress.
    • time a unix timestamp of when the email was sent
    • email_to the email address(es) that the message was sent to
    • subject the subject line of the message
    • message the contents of the message
    • backtrace_segment an array that shows which file and line the mail was initially triggered from
  • wp_mail_catcher_before_error_log_save
    • time a unix timestamp of when the email was sent
    • email_to the email address(es) that the message was sent to
    • subject the subject line of the message
    • message the contents of the message
    • backtrace_segment an array that shows which file and line the mail was initially triggered from
    • error the error that occurred
無料Business プランを利用中
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 6.8.3
このプラグインをダウンロードして、 サイトに使用できます。