2026年5月20日
2026年5月20日
WordPressのSMTPプラグインを比較して最適なものを選ぶ方法
はじめに
WordPressのメール送信を改善するSMTPプラグインは多数あります。無料プランの機能差や対応するメールサービスが異なるため、自分の用途に合ったものを選ぶことが重要です。
主要SMTPプラグイン比較
| プラグイン | 無料機能 | 有料版 | 特徴 |
|-----------|---------|--------|------|
| WP Mail SMTP | Gmail/Sendgrid/Mailgun | $49/年〜 | 最多ユーザー数・豊富なサービス対応 |
| FluentSMTP | 全機能無料 | なし | 完全無料・複数SMTP設定対応 |
| Post SMTP | 基本機能 | $89/年〜 | 詳細なログ・再送機能が優秀 |
| Easy WP SMTP | 基本機能 | $49/年〜 | 設定がシンプル |
解決手順
ステップ1:FluentSMTP(完全無料の推奨選択肢)
wp plugin install fluent-smtp --activate
設定画面: 管理画面 → Settings → FluentSMTP
対応サービス(全て無料):
- Gmail / Google Workspace
- SendGrid / Mailgun / Amazon SES
- Brevo(旧 Sendinblue)
- Outlook / Office 365
- その他のSMTP
ステップ2:WP Mail SMTP(最も普及しているプラグイン)
wp plugin install wp-mail-smtp --activate
無料版で対応しているサービス:
- Mailgun、SendGrid、SparkPost
- その他のSMTP
- ※Gmail/Microsoft365は有料版のみ
ステップ3:Post SMTP(ログ・再送機能が必要な場合)
wp plugin install post-smtp --activate
Post SMTPの特徴:
- 送信ログを管理画面で確認
- 失敗したメールをワンクリックで再送
- メール配信の成功/失敗を通知
ステップ4:プラグインなしでSMTP設定(コード実装)
// functions.php — プラグイン不使用でSMTP設定
add_action('phpmailer_init', function(PHPMailer\PHPMailer\PHPMailer $phpmailer) {
$phpmailer->isSMTP();
$phpmailer->Host = defined('SMTP_HOST') ? SMTP_HOST : '';
$phpmailer->SMTPAuth = true;
$phpmailer->Port = defined('SMTP_PORT') ? SMTP_PORT : 587;
$phpmailer->Username = defined('SMTP_USER') ? SMTP_USER : '';
$phpmailer->Password = defined('SMTP_PASS') ? SMTP_PASS : '';
$phpmailer->SMTPSecure = PHPMailer\PHPMailer\PHPMailer::ENCRYPTION_STARTTLS;
});
// wp-config.php
define('SMTP_HOST', 'smtp.sendgrid.net');
define('SMTP_PORT', 587);
define('SMTP_USER', 'apikey');
define('SMTP_PASS', 'SG.your_api_key');
選択ガイド
- 個人サイト・小規模 → FluentSMTP(無料・多機能)
- ビジネスサイト → WP Mail SMTP Pro(サポートが充実)
- ログ管理が重要 → Post SMTP(詳細なログと再送機能)
- プラグイン最小化 →
phpmailer_initフックで直接設定
注意事項
- SMTPプラグインは1つだけ有効化してください。複数有効にすると競合します
- Amazon SESを使う場合は、まず送信可能なメールアドレスのサンドボックス認証が必要です
- プラグインを変更する場合は、事前にテストメールを送信して動作確認してください
まとめ
完全無料ならFluentSMTP、サポートや高度な機能が必要ならWP Mail SMTP Proが最適です。プラグインを使わない場合は phpmailer_init フックで直接設定できます。いずれの方法でも設定後に必ずテストメールで動作確認してください。