SMTP Mailer

外掛說明

SMTP Mailer 外掛能讓網站管理員設定處理全部網站外送電子郵件的郵件伺服器,它能將 wp_mail 函式的控制權轉由 SMTP 處理。

SMTP Mailer 附加元件

SMTP Mailer 設定

  • SMTP 伺服器:輸入外寄郵件伺服器,例如 smtp.gmail.com。
  • SMTP 驗證:設定傳送電子郵件時是否進行 SMTP 驗證。選取 [驗證],則需要提供 SMTP 的使用者名稱及密碼。
  • SMTP 使用者名稱:用於連接至 SMTP 伺服器的使用者名稱。
  • SMTP 密碼:用於連接至 SMTP 伺服器的密碼。
  • 加密類型:傳送電子郵件時的加密方式,建議使用 TLS。
  • SMTP 通訊埠:傳送電子郵件時使用的通訊埠。加密類型如果為 TLS,請設定為 587;如果為 SSL,請設定為 465。
  • 寄件者電子郵件地址:傳送測試電子郵件時所使用的寄件者電子郵件地址。
  • 寄件者名稱:傳送測試電子郵件時所使用的寄件者名稱。
  • 強制使用 [寄件者名稱] 設定:在外掛設定頁面中設定的寄件者名稱會用於全部外寄的電子郵件。
  • 強制使用 [寄件者電子郵件] 設定:在外掛設定頁面中設定的寄件者電子郵件會用於全部外寄的電子郵件。
  • 強制使用 [寄件者電子郵件地址] 設定:在外掛設定頁面中設定的寄件者電子郵件地址會用於全部外寄的電子郵件。
  • 停用 SSL 憑證驗證:從 PHP 5.6 開始,如果 SSL 憑證在伺服器上沒有正確組態,便會顯示警告/錯誤。這個選項可以讓網站管理員停用這個行為。

SMTP Mailer 測試用電子郵件

外掛設定完成後,網站管理員可以傳送測試用電子郵件,測試外掛傳送通知功能是否能正確執行。

  • 收件者:收件者的電子郵件地址。
  • 主旨:電子郵件的主旨。
  • 郵件內容:電子郵件內容。

已知相容外掛

SMTP Mailer 能與任何使用 WordPress Mail 函式的外掛協同運作,以下是已經過測試驗證相容的表單及聯絡表單外掛:

  • Contact Form 7
  • Jetpack 聯絡表單
  • 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. 點擊 [立即安裝],然後點擊 [啟用] 按鈕。

常見問題集

目前尚無

使用者評論

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 則留言
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 則留言
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

  • Added options to force from name and from email.

1.1.22

  • Added minimum WordPress requirements to main file.

1.1.21

  • Added an option to delete saved options.

1.1.20

  • Restored older settings.

1.1.19

  • Added a menu for easy configuration.

1.1.18

  • WordPress 6.8 compatibility update.

1.1.17

  • WordPress 6.7 compatibility update.

1.1.16

  • Removed php_uname from server info.

1.1.15

  • Updated the code for sanitizing password.

1.1.14

  • Added support for the email logger add-on.

1.1.13

  • WordPress 6.5 compatibility update.

1.1.12

  • Added support for the reply-to add-on.

1.1.11

  • WordPress 6.4 compatibility update.

1.1.10

  • Added an option to set the configured from address for all outgoing email messages.

1.1.9

  • Additional check for the settings link.

1.1.8

  • Removed admin notices to avoid confusion since configurations can vary on different servers.

1.1.7

  • WordPress 6.3 compatibility update.

1.1.6

  • WordPress 6.2 compatibility update.

1.1.5

  • Compatibility update for WordPress 6.1.

1.1.4

  • Updated the mail function for WordPress 6.0.

1.1.3

  • Updated the mail function for WordPress 5.9.

1.1.2

  • Fixed an issue that could cause an Undefined variable error if $attachments was not set.

1.1.1

  • WordPress 5.7 compatibility update.

1.1.0

  • The password field can be left empty when updating the settings.

1.0.9

  • Updated the code to be compatible with WordPress 5.5.

1.0.8

  • SMTP Mailer is compatible with WordPress 5.3.

1.0.7

  • SMTP Mailer now checks for a valid nonce when sending a test email.

1.0.6

  • SMTP Mailer no longer shows the saved password in the settings.

1.0.5

  • SMTP Mailer is now compatible with WordPress 4.9.

1.0.4

  • Updated the mail() function by setting its minimum requirements to WordPress 4.8.
  • “phpmailer_init” action hook is now enabled so it can be used by other plugins.

1.0.3

  • Fixed a bug where an apostrophe in the password would cause SMTP authentication failure.

1.0.2

  • SMTP Mailer now supports the “wp_mail_failed” hook which fires after a phpmailerException is caught.
  • Added a new option to bypass this error on some servers where the SSL certificate is not properly configured – 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

  • First commit