SMTP Mailer

説明

SMTP Mailer プラグインを使用すると、サイトから送信されるすべてのメールを処理するメールサーバーを設定できます。このプラグインは wp_mail 関数を制御し、代わりに SMTP を使用します。

SMTP Mailer アドオン

SMTP Mailer 設定

  • SMTP ホスト : 送信メールサーバー (例 : smtp.gmail.com) です。
  • SMTP認証 : メール送信時にSMTP認証を使用するかどうか (True / False)。認証を使用する場合は、ユーザー名とパスワードを入力する必要があります。
  • SMTP ユーザー名 : SMTP サーバーに接続するためのユーザー名です。
  • SMTP パスワード : SMTP サーバーに接続するためのパスワードです。
  • 暗号化の種類 : メール送信時に使用する暗号化方式 (TLS / SSL / 暗号化なし)。 TLS の使用が推奨されます。
  • SMTPポート番号 : メール送信時に使用するポート番号 (587 / 465 / 25)。TLS を選択する場合は587を、SSL を使用する場合は465を設定してください。
  • 差出人メールアドレス : テストメール送信時に「差出人メール (From Email)」として使用されるメールアドレスです。
  • 差出人名 : テストメール送信時に「差出人名」として使用される名前です。
  • 差出人名を強制 : 設定画面で指定された「差出人名」が、送信されるすべてのメールに適用されます。
  • 差出人メールアドレスを強制 : 設定画面で指定された「差出人メールアドレス」が、送信されるすべてのメールに適用されます。
  • 差出人アドレスを強制 : 設定画面で指定された「差出人アドレス」が、送信されるすべてのメールに適用されます。
  • SSL 証明書の検証を無効化 : PHP 5.6以降では、サーバーの SSL 証明書が正しく構成されていない場合に警告 / エラーが表示されます。このオプションを有効にすると、その動作 (検証) を無効化できます。

SMTP Mailer テストメール

設定が完了したら、テストメールを送信してプラグインの動作を確認できます。

  • 宛先 : 受信者のメールアドレスです。
  • 件名 : メールの件名です。
  • メッセージ : メール本文です。

既知の互換性

SMTP Mailer は、WordPress のメール送信関数 (wp_mail) を使用するすべてのプラグインで動作します。ただし、以下のフォームおよびお問い合わせフォームプラグインで動作確認が行われています。

  • Contact Form 7
  • Jetpack Contact Form
  • Visual Form Builder
  • Fast Secure Contact Form
  • Formidable Forms
  • Contact Form by BestWebSoft

詳細な設定手順については、SMTP Mailer プラグインのページをご覧ください。

スクリーンショット

  • SMTP Mailer 設定
  • SMTP Mailer テストメールタブ

インストール

  1. WordPress ダッシュボードで「プラグインの追加」画面に移動します。
  2. 「アップロード」タブをクリックします。
  3. お使いのコンピューターからプラグインファイル (smtp-mailer.zip) を選択します。
  4. 「今すぐインストール」をクリックし、その後「有効化」ボタンを押します。

FAQ

無し

評価

2025年11月12日
For my WordPress site, I didn’t want complex plugins with lots of options or that consumed a lot of resources. I was looking for something simple. At first, it didn’t work well because it wasn’t 100% compatible with Jetform, but the developer fixed it in just a few days. Now the plugin is even better. 100% recommended
2025年10月19日
I’ve tried some of the better-known ‘big name’ SMTP plugins, but none of them did exactly what I needed with CF7 sending both Mail and Mail (2) seamlessly. This one just works with no complications or headaches. Big thanks to Noor Alam for making such a simple and reliable plugin!
2025年6月5日 1 reply
I needed something quick and easy when a contact page on an old site started breaking for some reason and I decided to redo it with new plugins for the form and mailer. This plugin got me going and fixed within minutes to get the SMTP part working and then worked immediately with the form I built using WPForms Lite.
2025年5月23日
The plugin is good, but the settings menu used to be properly placed in the admins settings section. A couple of updates ago, the authors decided to create a new top menu item for it. This is bad practice and i really dislike plugins spamming the backend. A plugin like this should just have a settings page under “settings” not create a new plugin menu item. Please consider keeping our backends tidy and undo this change. Sorry for the rating, but it is how I feel right now. Will update as soon as I change my mind or you the plugin settings placement.
2025年4月16日 1 reply
For sensible reasons, not all of us upgrade Wordpress the moment a new version is released. So I was surprised to find that, today, my website was no longer able to send SMTP emails when nothing on the server had changed… except I found that SMTP Mailer had been upgraded to 1.1.18 and, when sending email, would fail with the following error: [16-Apr-2025 18:44:29 UTC] PHP Warning: require_once(/home/xxxx/public_html/wp-includes/class-wp-phpmailer.php): Failed to open stream: No such file or directory in /home/xxxx/public_html/wp-content/plugins/smtp-mailer/main.php on line 586[16-Apr-2025 18:44:29 UTC] PHP Fatal error: Uncaught Error: Failed opening required ‘/home/xxxx/public_html/wp-includes/class-wp-phpmailer.php’ (include_path=’.:/opt/cpanel/ea-php82/root/usr/share/pear’) in /home/xxxxx/public_html/wp-content/plugins/smtp-mailer/main.php:586 Version 1.1.18 assumes that wp-includes/class-wp-phpmailer.php is available on previous versions of Wordpress… it isn’t … and the plugin fails because this file does not exist.
2024年11月6日
In the world of WP plugins, it’s easy to get bogged down by bloated, feature-rich options. This plugin is a refreshing departure from that trend. It’s lean, mean, and focused on doing one thing exceptionally well: sending emails.
65件のレビューをすべて表示

貢献者と開発者

SMTP Mailer はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“SMTP Mailer” は19ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“SMTP Mailer” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.1.23

  • 差出人名および差出人メールアドレスを強制設定するオプションを追加しました。

1.1.22

  • メインファイルに WordPress の最小必須要件を追加しました。

1.1.21

  • 保存された設定を削除するオプションを追加しました。

1.1.20

  • 以前の設定を復元しました。

1.1.19

  • 簡単に設定できるメニューを追加しました。

1.1.18

  • WordPress 6.8への互換性更新を行いました。

1.1.17

  • WordPress 6.7への互換性更新を行いました。

1.1.16

  • サーバー情報から php_uname を削除しました。

1.1.15

  • パスワードをサニタイズ (無害化) するためのコードを更新しました。

1.1.14

  • メールログ記録 (Email Logger) アドオンのサポートを追加しました。

1.1.13

  • WordPress 6.5への互換性更新を行いました。

1.1.12

  • 返信先 (Reply-To) アドオンのサポートを追加しました。

1.1.11

  • WordPress 6.4への互換性更新を行いました。

1.1.10

  • すべての送信メールに、設定した差出人アドレスを適用するオプションを追加しました。

1.1.9

  • 設定リンクに対する追加のチェックを実装しました。

1.1.8

  • サーバー環境によって設定が異なる場合があるため、混乱を避ける目的で管理画面の通知を削除しました。

1.1.7

  • WordPress 6.3への互換性更新を行いました。

1.1.6

  • WordPress 6.2への互換性更新を行いました。

1.1.5

  • WordPress 6.1への互換性更新を行いました。

1.1.4

  • WordPress 6.0への互換性更新を行いました。

1.1.3

  • WordPress 5.9への互換性更新を行いました。

1.1.2

  • $attachments が設定されていない場合に「未定義変数」エラーが発生する可能性があった問題を修正しました。

1.1.1

  • WordPress 5.7への互換性更新を行いました。

1.1.0

  • 設定を更新する際、パスワード欄は空のままでも構いません。

1.0.9

  • WordPress 5.5との互換性を保つようにコードを更新しました。

1.0.8

  • SMTP Mailer が WordPress 5.3に対応しました。

1.0.7

  • SMTP Mailer は、テストメール送信時に有効な nonce (認証トークン) を確認するようになりました。

1.0.6

  • SMTP Mailer の設定画面で、保存されたパスワードが表示されなくなりました。

1.0.5

  • SMTP Mailer が WordPress 4.9に対応しました。

1.0.4

  • WordPress 4.8 以降を最低要件として、mail() 関数の仕様を更新しました。
  • 「phpmailer_init」アクションフックが有効化され、他のプラグインでも使用できるようになりました。

1.0.3

  • パスワードにアポストロフィ (’) が含まれていると SMTP 認証が失敗する不具合を修正しました。

1.0.2

  • SMTP Mailer が「phpmailerException」発生後に実行される「wp_mail_failed」フックをサポートするようになりました。
  • サーバー側で SSL 証明書が正しく設定されていない一部の環境で発生する次のエラーを回避するための新しいオプションを追加しました – Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed.

1.0.1

  • 最初のコミット